summaryrefslogtreecommitdiffstats
path: root/perform/pio_timer.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-04 22:23:54 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-04 22:23:54 (GMT)
commit4a124d00cc1ffe395ffc45a8c1a44ac63390b364 (patch)
tree5aa116e254eb2094bd1210fedd89b6960d6bf554 /perform/pio_timer.h
parenta330835a5b44954570b176bf9a57bdbbc88a40cf (diff)
downloadhdf5-4a124d00cc1ffe395ffc45a8c1a44ac63390b364.zip
hdf5-4a124d00cc1ffe395ffc45a8c1a44ac63390b364.tar.gz
hdf5-4a124d00cc1ffe395ffc45a8c1a44ac63390b364.tar.bz2
[svn-r4667]
Purpose: Code Cleanup and Feature Add Description: Finally checking in the changes I made to the performance code. It just modularizes it a bit more and performs some more checks, etc. I also renamed the timer functions to be more inline with how other things are named here... Platforms tested: Linux
Diffstat (limited to 'perform/pio_timer.h')
-rw-r--r--perform/pio_timer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/perform/pio_timer.h b/perform/pio_timer.h
index 620d0c4..258ecc9 100644
--- a/perform/pio_timer.h
+++ b/perform/pio_timer.h
@@ -39,23 +39,23 @@ enum {
};
/* The performance time structure */
-typedef struct perf_time_ {
+typedef struct pio_time_ {
unsigned int type : 1;
double total_time[NUM_TIMERS];
double mpi_timer[NUM_TIMERS];
struct timeval sys_timer[NUM_TIMERS];
-} perf_time;
+} pio_time;
/* External function declarations */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-extern perf_time *perf_time_new(unsigned int);
-extern void perf_time_destroy(perf_time *pt);
-extern void set_timer_type(perf_time *pt, timer_type type);
-extern timer_type get_timer_type(perf_time *pt);
-extern perf_time *set_time(perf_time *pt, timer_type t, int start_stop);
-extern double get_time(perf_time *pt, timer_type t);
+extern pio_time *pio_time_new(unsigned int);
+extern void pio_time_destroy(pio_time *pt);
+extern void set_timer_type(pio_time *pt, timer_type type);
+extern timer_type get_timer_type(pio_time *pt);
+extern pio_time *set_time(pio_time *pt, timer_type t, int start_stop);
+extern double get_time(pio_time *pt, timer_type t);
#ifdef __cplusplus
}
#endif /* __cplusplus */