aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-10-03 19:43:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-10-03 19:43:00 +0000
commit53caf3b3bd89d5090b4d319d215ba0d1ac571b46 (patch)
treeaaf93942d34e8797a5e25f5d08b3a4416d632d32 /Carpet/Carpet/interface.ccl
parentc3bc026145e58c24645293b2574c210553d45b1b (diff)
Carpet: Record time spent in I/O and in communication
Improve Carpet's timing mechanism to record also the time spent in I/O and in communication. Also count the number of files written, messages sent, and bytes transferred. darcs-hash:20071003194325-dae7b-b7a908e8c49aa674de44d67c4a4c81844ca123ca.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl19
1 files changed, 15 insertions, 4 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index 6d68cef0f..1ef3a39c1 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -185,10 +185,21 @@ REQUIRES FUNCTION IO_TruncateOutputFiles
CCTK_REAL timing TAGS='checkpoint="no"'
{
physical_time_per_hour
- local_grid_points_per_second
- total_grid_points_per_second
- local_grid_point_updates_count
- total_grid_point_updates_count
+
+ time_total time_computing time_communicating time_io
+
+ local_grid_points_per_second total_grid_points_per_second
+ local_grid_point_updates_count total_grid_point_updates_count
+
+ io_per_second
+ io_bytes_per_second io_bytes_ascii_per_second io_bytes_binary_per_second
+ io_count
+ io_bytes_count io_bytes_ascii_count io_bytes_binary_count
+
+ comm_per_second
+ comm_bytes_per_second
+ comm_count
+ comm_bytes_count
} "Physical timing information"
CCTK_REAL timing2 TYPE=array DIM=1 SIZE=1 DISTRIB=constant TAGS='checkpoint="no"'