summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-05-07 16:56:34 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-05-07 16:56:34 (GMT)
commitf04b756f6f28c27c6badde9601f3605d16cb4b0c (patch)
tree7e4645d0395652262b35406f9501d04c34ed8e42
parentfc49f1463c091ebb58c3e5279a545e84cf949391 (diff)
downloadhdf5-f04b756f6f28c27c6badde9601f3605d16cb4b0c.zip
hdf5-f04b756f6f28c27c6badde9601f3605d16cb4b0c.tar.gz
hdf5-f04b756f6f28c27c6badde9601f3605d16cb4b0c.tar.bz2
[svn-r5374] Purpose:
Name Change Description: Changed the macro's name from "MILLISECOND" to "MICROSECOND" since, as Quincey pointed out, that's what it is ;). Platforms tested: Linux
-rw-r--r--perform/pio_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perform/pio_timer.c b/perform/pio_timer.c
index 6a30027..d053e10 100644
--- a/perform/pio_timer.c
+++ b/perform/pio_timer.c
@@ -25,7 +25,7 @@
* The number to divide the tv_usec field with to get a nice decimal to add to
* the number of seconds.
*/
-#define MILLISECOND 1000000.0
+#define MICROSECOND 1000000.0
/* global variables */
pio_time *timer_g; /* timer: global for stub functions */
@@ -126,9 +126,9 @@ set_time(pio_time *pt, timer_type t, int start_stop)
gettimeofday(&sys_t, NULL);
pt->total_time[t] +=
((double)sys_t.tv_sec +
- ((double)sys_t.tv_usec) / MILLISECOND) -
+ ((double)sys_t.tv_usec) / MICROSECOND) -
((double)pt->sys_timer[t].tv_sec +
- ((double)pt->sys_timer[t].tv_usec) / MILLISECOND);
+ ((double)pt->sys_timer[t].tv_usec) / MICROSECOND);
}
}
}