diff options
author | Leon Arber <larber@ncsa.uiuc.edu> | 2006-01-26 22:45:51 (GMT) |
---|---|---|
committer | Leon Arber <larber@ncsa.uiuc.edu> | 2006-01-26 22:45:51 (GMT) |
commit | d61b6875876f33c2e5ceecc8267dedeba4fa0102 (patch) | |
tree | eed734ca7cf7e39c9f54c8b50eb8cfeac8bcc808 /perform/pio_timer.h | |
parent | 25f2ebda39e5a2932853668b88f821a5bd0faf32 (diff) | |
download | hdf5-d61b6875876f33c2e5ceecc8267dedeba4fa0102.zip hdf5-d61b6875876f33c2e5ceecc8267dedeba4fa0102.tar.gz hdf5-d61b6875876f33c2e5ceecc8267dedeba4fa0102.tar.bz2 |
[svn-r11894] Purpose:
Feature, address bug #426
Description:
The h5perf test now also keeps track of the time it takes to:
open a file: Time between start of open and start first read/write
close a file: Time between end of last read/write and end of close.
This information is only displayed if debug output printing is enabled (level 3 or higher)
Solution:
The test actually has all of the data necessary to compute the time it takes to open
and close a file; it just wasn't recording it. Added 4 new timers:
HDF5_FILE_READ_OPEN
HDF5_FILE_READ_CLOSE
HDF5_FILE_WRITE_OPEN
HDF5_FILE_WRITE_CLOSE
that keep track of the time to open/close a file opened for reading/writing.
Platforms tested:
heping and mir
Misc. update:
Diffstat (limited to 'perform/pio_timer.h')
-rw-r--r-- | perform/pio_timer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perform/pio_timer.h b/perform/pio_timer.h index 3094997..ca942a3 100644 --- a/perform/pio_timer.h +++ b/perform/pio_timer.h @@ -32,6 +32,10 @@ typedef enum timer_type_ { HDF5_DATASET_CREATE, HDF5_MPI_WRITE, HDF5_MPI_READ, + HDF5_FILE_READ_OPEN, + HDF5_FILE_READ_CLOSE, + HDF5_FILE_WRITE_OPEN, + HDF5_FILE_WRITE_CLOSE, HDF5_FINE_WRITE_FIXED_DIMS, HDF5_FINE_READ_FIXED_DIMS, HDF5_GROSS_WRITE_FIXED_DIMS, |