Skip to content

Commit 36890a0

Browse files
authored
Use CallFnAfter instead of CallOnConditionKeep (#3841)
* Use CallFnAfter instead of CallOnConditionKeep * fix periodic for callonconditionkeep
1 parent 4ee1554 commit 36890a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/charm++/periodic/periodic.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ class main : public CBase_main {
3434
delete msg;
3535

3636
mProxy = thisProxy;
37+
#ifdef CALL_FN_AFTER
3738
startTime = CkWallTimer();
39+
#else
40+
startTime = 0.0;
41+
#endif
3842
gProxy = CProxy_testGroup::ckNew(COUNTER_MAX);
3943
CkPrintf("Testing Converse periodic callbacks on %d PEs for %d seconds\n",
4044
CkNumPes(), COUNTER_MAX);

0 commit comments

Comments
 (0)