change number of iterations
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 3 Feb 2012 06:30:54 +0000 (00:30 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 3 Feb 2012 06:30:54 +0000 (00:30 -0600)
examples/converse/pingpong/pingpong.C

index 6115fccb4a6dcb270ff48ab606996a471356b63f..2b92a09754d61bff39a52dc82f1e72a19188e126 100644 (file)
@@ -9,7 +9,7 @@
 #include <stdlib.h>
 #include <converse.h>
 
-enum {nCycles =1};
+enum {nCycles = 1000};
 enum { maxMsgSize = 1 << 14 };
 
 CpvDeclare(int,msgSize);
@@ -120,7 +120,7 @@ CmiStartFn mymain()
     CpvInitialize(int,msgSize);
     CpvInitialize(int,cycleNum);
     
-    CpvAccess(msgSize)= 4096 + CmiMsgHeaderSizeBytes;
+    CpvAccess(msgSize)= 512 + CmiMsgHeaderSizeBytes;
     
     CpvInitialize(int,exitHandler);
     CpvAccess(exitHandler) = CmiRegisterHandler((CmiHandler) exitHandlerFunc);