aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-02-27 20:28:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-02-27 20:28:00 +0000
commit5b8b477b42f8be0f524a91bfc6a8d7ca4047fc5a (patch)
tree6be7b06dfc660996f81e631fa3f30fad32591988 /Carpet/Carpet/interface.ccl
parent688545fc0c278f25bcdb591187d8a3d9b5314917 (diff)
Carpet: Improve timing statistics
Calculate both processor-local and total number of grid points updates. Store grid point updates in a 1d grid array, so that statistics (sum, average) can be easily output. darcs-hash:20070227202839-dae7b-74b51ea240995de247a6eed5d973b0a4f3d84b13.gz
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl12
1 files changed, 9 insertions, 3 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index ed8536b28..82fca2123 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -150,8 +150,14 @@ REQUIRES FUNCTION IO_TruncateOutputFiles
-CCTK_REAL timing
+CCTK_REAL timing TAGS='checkpoint="no"'
{
- grid_points_per_second
physical_time_per_hour
-} "Timing information"
+ local_grid_points_per_second
+ total_grid_points_per_second
+} "Physical timing information"
+
+CCTK_REAL timing2 TYPE=array DIM=1 SIZE=1 DISTRIB=constant TAGS='checkpoint="no"'
+{
+ grid_points_per_second
+} "Per-processor timing information"