summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-01-25 19:16:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-01-25 19:16:03 (GMT)
commit8d6c8b941116e3295355ff9fc801a61738977787 (patch)
tree287c4a8e0e99859730b40fe7f9e594fdd8fa3a8f /src/H5FDlog.h
parentb1cf10305b2a705df8bb84148e90af0cf28abc2e (diff)
downloadhdf5-8d6c8b941116e3295355ff9fc801a61738977787.zip
hdf5-8d6c8b941116e3295355ff9fc801a61738977787.tar.gz
hdf5-8d6c8b941116e3295355ff9fc801a61738977787.tar.bz2
[svn-r19989] Description:
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.h10
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