changes to make smp restart work
[charm.git] / examples / multiphaseSharedArrays / simpletest / t3.C
index 5c4e7940c43e20a9f463cdc996e1c02611b92832..4d698e4e72f231ac03f3e3b3be2fa3eda43a5283 100644 (file)
@@ -33,9 +33,9 @@ public:
     t3(CkArgMsg* m)
     {
         // Usage: t3 [number_of_worker_threads [max_bytes]]
     t3(CkArgMsg* m)
     {
         // Usage: t3 [number_of_worker_threads [max_bytes]]
-        if(m->argc >1 ) NUM_WORKERS=atoi(m->argv[1]);
-        if(m->argc >2 ) bytes=atoi(m->argv[1]);
-        delete m;
+        /*if(m->argc >1 ) NUM_WORKERS=atoi(m->argv[1]);
+        if(m->argc >2 ) bytes=atoi(m->argv[2]);
+        delete m;*/
         reallyDone = 0;
 
         // Actually build the shared array.
         reallyDone = 0;
 
         // Actually build the shared array.
@@ -64,7 +64,8 @@ public:
               << NUM_WORKERS << TAB
               << bytes << TAB
               << ((g_prefetch == 0) ? "N" : ((g_prefetch == 1) ? "Y" : "U")) << TAB
               << NUM_WORKERS << TAB
               << bytes << TAB
               << ((g_prefetch == 0) ? "N" : ((g_prefetch == 1) ? "Y" : "U")) << TAB
-              << end_time - start_time
+              <<g_prefetch<<TAB
+                         << end_time - start_time
               << endl;
         } else {
 
               << endl;
         } else {