summaryrefslogtreecommitdiffstats
path: root/pablo/HDF5record_RT.h
diff options
context:
space:
mode:
authorDan Wells <dwells@cs.uiuc.edu>1998-11-18 15:35:16 (GMT)
committerDan Wells <dwells@cs.uiuc.edu>1998-11-18 15:35:16 (GMT)
commit665165234f63182d91e422179508a12a7fd237c7 (patch)
tree7b7d352f5c764615b9645dcdb81c9c47572d0b21 /pablo/HDF5record_RT.h
parent860d23bef28cc21e15224a51a619bbb49ede941b (diff)
downloadhdf5-665165234f63182d91e422179508a12a7fd237c7.zip
hdf5-665165234f63182d91e422179508a12a7fd237c7.tar.gz
hdf5-665165234f63182d91e422179508a12a7fd237c7.tar.bz2
[svn-r922] Using CLOCK structure for timings as opposed to doubles for better accuracy.
Diffstat (limited to 'pablo/HDF5record_RT.h')
-rw-r--r--pablo/HDF5record_RT.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/pablo/HDF5record_RT.h b/pablo/HDF5record_RT.h
index d062d9f..d86871e 100644
--- a/pablo/HDF5record_RT.h
+++ b/pablo/HDF5record_RT.h
@@ -122,10 +122,10 @@ int BktLim[] = { 1, 4*ONEK, 64*ONEK, 256*ONEK, INT_MAX } ;
//======================================================================*/
typedef struct {
int nCalls; /* number of proc calls */
- double lastCall; /* time of last call */
- double incDur; /* inclusive duration */
- double excDur; /* exclusive duration */
- double times[nTallyFields]; /* Tally op/calls times */
+ CLOCK lastCall; /* time of last call */
+ CLOCK incDur; /* inclusive duration */
+ CLOCK excDur; /* exclusive duration */
+ CLOCK times[nTallyFields]; /* Tally op/calls times */
int counts[nTallyFields]; /* Tally op/calls counts */
int bytes[nByteFields]; /* Tally bytes transferred */
int Hists[nByteFields][nBkts]; /* Historgrams */
@@ -136,7 +136,7 @@ typedef struct {
// Node used to maintain linked lists of HDF procedure activity. *
//======================================================================*/
typedef struct HDFnode {
- double lastIOtime; /* last IO time stamp */
+ CLOCK lastIOtime; /* last IO time stamp */
HDFrec_t record; /* data */
struct HDFnode *ptr; /* link pointer */
int eventID; /* event ID */