[PVFS2-CVS] commit by neill in pvfs2/src/common/misc: pint-perf-counter.c

CVS commit program cvs at parl.clemson.edu
Tue Feb 3 19:41:34 EST 2004


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory acid:/tmp/cvs-serv16364/src/common/misc

Modified Files:
	pint-perf-counter.c 
Log Message:
- no reason for these to be static


Index: pint-perf-counter.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/pint-perf-counter.c,v
diff -p -u -r1.6 -r1.7
--- pint-perf-counter.c	4 Feb 2004 00:35:26 -0000	1.6
+++ pint-perf-counter.c	4 Feb 2004 00:41:34 -0000	1.7
@@ -127,8 +127,8 @@ void PINT_perf_rollover(void)
     int i = 0;
     uint32_t old_id;
     struct timeval tv;
-    static int64_t metadata_read_hwm = 0;
-    static int64_t metadata_write_hwm = 0;
+    int64_t metadata_read_hwm = 0;
+    int64_t metadata_write_hwm = 0;
 
     gen_mutex_lock(&perf_mutex);
 
@@ -140,7 +140,6 @@ void PINT_perf_rollover(void)
     /* if we bump into the tail, shift it too */
     if(perf_count_tail == perf_count_head)
 	perf_count_tail = (perf_count_tail+1)%PINT_PERF_HISTORY_SIZE;
-
 
     /* update metadata read/write high water marks */
     metadata_read_hwm = find_high_water_mark(PINT_PERF_METADATA_READ);



More information about the PVFS2-CVS mailing list