aboutsummaryrefslogtreecommitdiff
path: root/src/ioGH.h
diff options
context:
space:
mode:
authortradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2000-06-29 14:11:56 +0000
committertradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2000-06-29 14:11:56 +0000
commit11e5ce9ece764a2a05f17f952e01182b8ed6cc22 (patch)
treeda77885c74f0a2847358bb5a2d2fbb773113d0ca /src/ioGH.h
parent9d8594549c5cbc6b8ac008a35024ad87a987fa7b (diff)
Added routine IOUtil_PrintTimings() which can be called by other thorns
to output their timer info. It gets passed an array of Cactus timers together with some description. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@74 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/ioGH.h')
-rw-r--r--src/ioGH.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ioGH.h b/src/ioGH.h
index e2ca749..05c3194 100644
--- a/src/ioGH.h
+++ b/src/ioGH.h
@@ -131,6 +131,12 @@ extern int IOUtil_AdvertiseFile (cGH *GH,
const char *filename,
const IOUtil_AdvertisedFileDesc_t *desc);
+/*** routine to output timing information ***/
+extern void IOUtil_PrintTimings (const char *description,
+ int ntimers,
+ int timers[/* ntimers */],
+ const char *timer_descriptions[/* ntimers */]);
+
#ifdef __cplusplus
}
#endif