Skip to content

Commit

Permalink
fix periodic for callonconditionkeep
Browse files Browse the repository at this point in the history
  • Loading branch information
ritvikrao committed Oct 3, 2024
1 parent 417a0fd commit 5bbd87b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/charm++/periodic/periodic.C
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* this tests CcdCallOnConditionKeep.
*/
#ifndef CALL_FN_AFTER
#define CALL_FN_AFTER 1
#define CALL_FN_AFTER 0
#endif

CProxy_main mProxy;
Expand All @@ -34,7 +34,11 @@ class main : public CBase_main {
delete msg;

mProxy = thisProxy;
#ifdef CALL_FN_AFTER
startTime = CkWallTimer();
#else
startTime = 0.0;
#endif
gProxy = CProxy_testGroup::ckNew(COUNTER_MAX);
CkPrintf("Testing Converse periodic callbacks on %d PEs for %d seconds\n",
CkNumPes(), COUNTER_MAX);
Expand Down

0 comments on commit 5bbd87b

Please sign in to comment.