aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/timestat.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-01-02 17:35:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-01-02 17:35:00 +0000
commit103155822be34d975e307666930595c53a3a9f3c (patch)
tree3d77bfcab9cb51f5de0911f3c8dba6940778264a /Carpet/CarpetLib/src/timestat.cc
parenta9e01192b2b3064c7fa4d3330ea3a68c3c69b80e (diff)
CarpetLib: Add lightweight communication buffers (untested)
Lightweight communication buffers use essentially only a vector<T> instead of a data<T> to transfer data between processors. This should reduce the computational overhead. Set the parameter "use_lightweight_buffers" to use this feature. This feature is completely untested. darcs-hash:20050102173524-891bb-6a3999cbd63e367c8520c175c8078374d294eaa8.gz
Diffstat (limited to 'Carpet/CarpetLib/src/timestat.cc')
-rw-r--r--Carpet/CarpetLib/src/timestat.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/timestat.cc b/Carpet/CarpetLib/src/timestat.cc
index 0c43c6ed3..8fd104304 100644
--- a/Carpet/CarpetLib/src/timestat.cc
+++ b/Carpet/CarpetLib/src/timestat.cc
@@ -74,6 +74,17 @@ timestat wtime_copyfrom_wait_changeproc_wait;
timestat wtime_copyfrom_wait_copyfrom_nocomm;
timestat wtime_copyfrom_wait_delete;
+timestat wtime_copyfrom_recvinner_allocate;
+timestat wtime_copyfrom_recvinner_recv;
+timestat wtime_copyfrom_sendinner_allocate;
+timestat wtime_copyfrom_sendinner_copy;
+timestat wtime_copyfrom_sendinner_send;
+timestat wtime_copyfrom_recvwaitinner_wait;
+timestat wtime_copyfrom_recvwaitinner_copy;
+timestat wtime_copyfrom_recvwaitinner_delete;
+timestat wtime_copyfrom_sendwaitinner_wait;
+timestat wtime_copyfrom_sendwaitinner_delete;
+
timestat wtime_changeproc_recv;
timestat wtime_changeproc_send;
timestat wtime_changeproc_wait;
@@ -107,6 +118,17 @@ void CarpetLib_printtimestats (CCTK_ARGUMENTS)
<< " wtime_copyfrom_wait_copyfrom_nocomm2: " << wtime_copyfrom_wait_copyfrom_nocomm << endl
<< " wtime_copyfrom_wait_delete: " << wtime_copyfrom_wait_delete << endl
<< endl
+ << " wtime_copyfrom_recvinner_allocate: " << wtime_copyfrom_recvinner_allocate << endl
+ << " wtime_copyfrom_recvinner_recv: " << wtime_copyfrom_recvinner_recv << endl
+ << " wtime_copyfrom_sendinner_allocate: " << wtime_copyfrom_sendinner_allocate << endl
+ << " wtime_copyfrom_sendinner_copy: " << wtime_copyfrom_sendinner_copy << endl
+ << " wtime_copyfrom_sendinner_send: " << wtime_copyfrom_sendinner_send << endl
+ << " wtime_copyfrom_recvwaitinner_wait: " << wtime_copyfrom_recvwaitinner_wait << endl
+ << " wtime_copyfrom_recvwaitinner_copy: " << wtime_copyfrom_recvwaitinner_copy << endl
+ << " wtime_copyfrom_recvwaitinner_delete: " << wtime_copyfrom_recvwaitinner_delete << endl
+ << " wtime_copyfrom_sendwaitinner_wait: " << wtime_copyfrom_sendwaitinner_wait << endl
+ << " wtime_copyfrom_sendwaitinner_delete: " << wtime_copyfrom_sendwaitinner_delete << endl
+ << endl
<< " wtime_changeproc_recv: " << wtime_changeproc_recv << endl
<< " wtime_changeproc_send: " << wtime_changeproc_send << endl
<< " wtime_changeproc_wait: " << wtime_changeproc_wait << endl