diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-01-25 19:22:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-01-25 19:22:31 (GMT) |
commit | 8bf1158b55fb26513bcb7168fdb392473959a37a (patch) | |
tree | 1c99582edac30bd13fd8bf8ea28074f9474c3c05 /src/H5FDlog.h | |
parent | 31cd7dee914369b32763767d7a8b4d77ca798bf2 (diff) | |
download | hdf5-8bf1158b55fb26513bcb7168fdb392473959a37a.zip hdf5-8bf1158b55fb26513bcb7168fdb392473959a37a.tar.gz hdf5-8bf1158b55fb26513bcb7168fdb392473959a37a.tar.bz2 |
[svn-r19990] Description:
Bring r19989 from trunk to 1.8 branch:
Finish implementing time tracking for read & seek operations in the 'log'
VFD. Also clean up code and track total time during all read/write/seek
operations.
Tested on:
Mac OS X/32 10.6.6 (amazon) w/debug & production
(too minor to require h5committest)
Diffstat (limited to 'src/H5FDlog.h')
-rw-r--r-- | src/H5FDlog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5FDlog.h b/src/H5FDlog.h index e829016..1ed4561 100644 --- a/src/H5FDlog.h +++ b/src/H5FDlog.h @@ -44,11 +44,11 @@ #define H5FD_LOG_NUM_SEEK 0x0100 #define H5FD_LOG_NUM_IO (H5FD_LOG_NUM_READ|H5FD_LOG_NUM_WRITE|H5FD_LOG_NUM_SEEK) /* Flags for tracking time spent in open/read/write/seek/close */ -#define H5FD_LOG_TIME_OPEN 0x0200 /* Not implemented yet */ -#define H5FD_LOG_TIME_READ 0x0400 /* Not implemented yet */ -#define H5FD_LOG_TIME_WRITE 0x0800 /* Partially implemented (need to track total time) */ -#define H5FD_LOG_TIME_SEEK 0x1000 /* Partially implemented (need to track total time & track time for seeks during reading) */ -#define H5FD_LOG_TIME_CLOSE 0x2000 /* Fully implemented */ +#define H5FD_LOG_TIME_OPEN 0x0200 +#define H5FD_LOG_TIME_READ 0x0400 +#define H5FD_LOG_TIME_WRITE 0x0800 +#define H5FD_LOG_TIME_SEEK 0x1000 +#define H5FD_LOG_TIME_CLOSE 0x2000 #define H5FD_LOG_TIME_IO (H5FD_LOG_TIME_OPEN|H5FD_LOG_TIME_READ|H5FD_LOG_TIME_WRITE|H5FD_LOG_TIME_SEEK|H5FD_LOG_TIME_CLOSE) /* Flag for tracking allocation of space in file */ #define H5FD_LOG_ALLOC 0x4000 |