diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-07-31 15:26:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-07-31 15:26:00 +0000 |
commit | 2f54810c8c9450e7c4d7e00f6beb97759f20c179 (patch) | |
tree | c9855ec140091c8f239f0438b0c0a6daa6912c80 /Carpet/CarpetLib/src/timestat.hh | |
parent | 3c9fceb2947be6d35e1178bdca8c2d73d31b5862 (diff) |
CarpetLib: Extend timing statistics
Add timers for the new communication infrastructure.
Enhance the timers to also track the minimum and maximum time spent.
Add a parameter to output timing information to files.
darcs-hash:20060731152618-dae7b-1d049b2b37397610c14648078fd0ee92f252ca2a.gz
Diffstat (limited to 'Carpet/CarpetLib/src/timestat.hh')
-rw-r--r-- | Carpet/CarpetLib/src/timestat.hh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh index 11a7a00aa..896b94236 100644 --- a/Carpet/CarpetLib/src/timestat.hh +++ b/Carpet/CarpetLib/src/timestat.hh @@ -13,6 +13,8 @@ class timestat { public: double wtime; double wtime2; + double wmin; + double wmax; double count; public: @@ -68,6 +70,14 @@ extern timestat wtime_isend; extern timestat wtime_irecvwait; extern timestat wtime_isendwait; - +extern timestat wtime_commstate_sizes_irecv; +extern timestat wtime_commstate_waitall_final; +extern timestat wtime_commstate_waitall; +extern timestat wtime_commstate_waitsome; +extern timestat wtime_commstate_isend; +extern timestat wtime_commstate_memcpy; +extern timestat wtime_commstate_interpolate_irecv; +extern timestat wtime_commstate_interpolate_from_isend; +extern timestat wtime_commstate_interpolate_to_isend; #endif // TIMESTAT_HH |