diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2000-06-29 14:11:56 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2000-06-29 14:11:56 +0000 |
commit | 11e5ce9ece764a2a05f17f952e01182b8ed6cc22 (patch) | |
tree | da77885c74f0a2847358bb5a2d2fbb773113d0ca /src/ioGH.h | |
parent | 9d8594549c5cbc6b8ac008a35024ad87a987fa7b (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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |