aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-08-31 10:56:16 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2001-08-31 10:56:16 +0000
commit8d4b5ffb57e46e1525a71f5e6ee83a4488dc6b9d (patch)
treed5d849a3cb2413b6b2bc45060bb818f4f13e2c60
parent70a30802ddfe00a09e4f56a7134791460d37df6b (diff)
Replaced anonymous timers by named timers.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@219 ebee0441-1374-4afa-a3b5-247f3ba15b9a
-rw-r--r--src/GHExtension.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c
index fc319fe..de25a97 100644
--- a/src/GHExtension.c
+++ b/src/GHExtension.c
@@ -120,6 +120,10 @@ int IOFlexIO_InitGH (cGH *GH)
int i;
ioGH *ioUtilGH;
flexioGH *myGH;
+ const char *timer_names[4] = {"IOFlexIO time to dump parameters",
+ "IOFlexIO time to dump datasets",
+ "IOFlexIO total time to checkpoint",
+ "IOFlexIO time to recover"};
/* get the handles for IOUtil and IOFlexIO extensions */
@@ -203,7 +207,7 @@ int IOFlexIO_InitGH (cGH *GH)
{
for (i = 0; i < 4; i++)
{
- if ((myGH->timers[i] = CCTK_TimerCreateI ()) < 0)
+ if ((myGH->timers[i] = CCTK_TimerCreate (timer_names[i])) < 0)
break;
}
if (i != 4)