diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-06-27 14:45:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-06-27 14:45:06 (GMT) |
commit | 7be3afb278aea67ba09a97f4b41c0aaaf5c47983 (patch) | |
tree | 24ed86ab2a5c982fbf182d2ac8cd892c3813bc34 /perform/pio_timer.c | |
parent | 8d72542a50fac7a747fe0bfec8d2285de8efd29f (diff) | |
download | hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.zip hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.tar.gz hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.tar.bz2 |
[svn-r12440] Purpose:
Code cleanup
Description:
Trim trailing whitespace in Makefile.am and C/C++ source files to make
diffing changes easier.
Platforms tested:
None necessary, whitespace only change
Diffstat (limited to 'perform/pio_timer.c')
-rw-r--r-- | perform/pio_timer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perform/pio_timer.c b/perform/pio_timer.c index a528e5d..3d0cb3e 100644 --- a/perform/pio_timer.c +++ b/perform/pio_timer.c @@ -38,11 +38,11 @@ /* global variables */ pio_time *timer_g; /* timer: global for stub functions */ -/* +/* * Function: sub_time * Purpose: Struct two time values, and return the difference, in microseconds - * - * Note that the function assumes that a > b + * + * Note that the function assumes that a > b * Programmer: Leon Arber, 1/27/06 */ static double sub_time(struct timeval* a, struct timeval* b) @@ -145,7 +145,7 @@ set_time(pio_time *pt, timer_type t, int start_stop) } else { pt->total_time[t] += MPI_Wtime() - pt->mpi_timer[t]; - pt->mpi_timer[t] = MPI_Wtime(); + pt->mpi_timer[t] = MPI_Wtime(); /* When we stop the timer for HDF5_GROSS_WRITE_FIXED_DIMS or HDF5_GROSS_READ_FIXED_DIMS * we compute the time it took to close the file after the last read/write finished */ @@ -165,7 +165,7 @@ set_time(pio_time *pt, timer_type t, int start_stop) else if(t == HDF5_FINE_READ_FIXED_DIMS) pt->total_time[HDF5_FILE_READ_OPEN] += sub_time(&(pt->sys_timer[t]), &(pt->sys_timer[HDF5_GROSS_READ_FIXED_DIMS])); - + } else { struct timeval sys_t; @@ -183,7 +183,7 @@ set_time(pio_time *pt, timer_type t, int start_stop) pt->total_time[HDF5_FILE_WRITE_CLOSE] += sub_time(&(pt->sys_timer[t]), &(pt->sys_timer[HDF5_FINE_WRITE_FIXED_DIMS])); else if(t == HDF5_GROSS_READ_FIXED_DIMS) pt->total_time[HDF5_FILE_READ_CLOSE] += sub_time(&(pt->sys_timer[t]), &(pt->sys_timer[HDF5_FINE_READ_FIXED_DIMS])); - + } } |