minor change
authorYanhua Sun <sun51@illinois.edu>
Sat, 21 Sep 2013 21:16:38 +0000 (16:16 -0500)
committerYanhua Sun <sun51@illinois.edu>
Sat, 21 Sep 2013 21:16:38 +0000 (16:16 -0500)
src/ck-tune/trace-autoPerf.C

index 3d3786a92db7e62bb23c2c113ba700eac2d004f4..bb19cc8e6eacdf49a407d38fa21318bfb7e5d879 100644 (file)
@@ -176,8 +176,9 @@ void TraceAutoPerfBOC::globalPerfAnalyze(CkReductionMsg *msg )
     //DEBUG_PRINT ( 
     CkPrintf("Utilization(%):  \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f\n", data->utilMin*100, data->utilMax*100, utilPercentage*100, data->utilTotalTime);
     CkPrintf("Application time (%):  \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f\n", data->appMin*100, data->appMax*100, appPercentage*100, data->appTotalTime);
     //DEBUG_PRINT ( 
     CkPrintf("Utilization(%):  \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f\n", data->utilMin*100, data->utilMax*100, utilPercentage*100, data->utilTotalTime);
     CkPrintf("Application time (%):  \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f\n", data->appMin*100, data->appMax*100, appPercentage*100, data->appTotalTime);
+    CkPrintf("Parallel overhead(%):\t (%f)\t time:%f\n", 100*(utilPercentage-appPercentage), data->utilTotalTime - data->appTotalTime);
     CkPrintf("Idle(%):         \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f \n", data->idleMin*100,  data->idleMax*100, idlePercentage*100, data->idleTotalTime);
     CkPrintf("Idle(%):         \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f \n", data->idleMin*100,  data->idleMax*100, idlePercentage*100, data->idleTotalTime);
-    CkPrintf("Overhead(%):     \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f \n", data->overheadMin*100, data->overheadMax*100, overheadPercentage*100, data->overheadTotalTime);
+    CkPrintf("Runtime Overhead(%):     \t(min:max:avg):(%.1f:\t  %.1f:\t  %.1f) time:%f \n", data->overheadMin*100, data->overheadMax*100, overheadPercentage*100, data->overheadTotalTime);
     CkPrintf("Grainsize(ms):\t(avg:max)\t: (%.3f:    %.3f) \n", data->utilTotalTime/data->numInvocations*1000, data->grainsizeMax*1000);
     CkPrintf("Invocations:  \t%lld\n", data->numInvocations);
 #if CMK_HAS_COUNTER_PAPI
     CkPrintf("Grainsize(ms):\t(avg:max)\t: (%.3f:    %.3f) \n", data->utilTotalTime/data->numInvocations*1000, data->grainsizeMax*1000);
     CkPrintf("Invocations:  \t%lld\n", data->numInvocations);
 #if CMK_HAS_COUNTER_PAPI