From 2f54810c8c9450e7c4d7e00f6beb97759f20c179 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 31 Jul 2006 15:26:00 +0000 Subject: 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 --- Carpet/CarpetLib/src/timestat.hh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Carpet/CarpetLib/src/timestat.hh') 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 -- cgit v1.2.3