diff options
author | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-09-16 10:13:01 +0000 |
---|---|---|
committer | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-09-16 10:13:01 +0000 |
commit | 46a7d6ef731e9e26279fab0514c91ad41fbac170 (patch) | |
tree | 9c4e4e639714a18cde9375456fa1a92652bb8c4a /schedule.ccl | |
parent | 5c1f3ae9d5de43fe1d47463222791b6cdb49dc47 (diff) |
Extended storage_verbose parameter to give a report on the maximum amount of storage assigned during a run.
The options are now
storage_verbose = "yes" -> show everything (enabling, disabling and report)
storage_verbose = "report" -> just show report
storage_verbose = "no" (the default) -> show nothing
The report will be given at termination, and also at every storage_report_every iterations (default is
only at termination).
I could extend the report to give a list of the GAs with storage at the max if anyone wants that.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@346 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl index 7e32810..c758e63 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -19,6 +19,22 @@ if (timer_output) } "Print time spent in communication" } +if (CCTK_Equals(storage_verbose,"yes") || CCTK_Equals(storage_verbose,"report") ) +{ + schedule PUGH_PrintStorageReport at TERMINATE + { + LANG:C + } "Print storage information" +} + +if (CCTK_Equals(storage_verbose,"yes") || CCTK_Equals(storage_verbose,"report")) +{ + schedule PUGH_PrintStorageReport at POSTSTEP + { + LANG:C + } "Print storage information" +} + schedule PUGH_Terminate at TERMINATE as Driver_Terminate { LANG:C |