Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.c @ 78:521c75d64cef
Version before optimization
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 04 Jul 2011 19:45:43 +0200 |
| parents | fe5ec83f1baf |
| children | 97e26095c01f |
line diff
1.1 --- a/VMS.c Wed Jun 22 16:12:27 2011 +0200 1.2 +++ b/VMS.c Mon Jul 04 19:45:43 2011 +0200 1.3 @@ -110,7 +110,7 @@ 1.4 1.5 //============================= MEASUREMENT STUFF ======================== 1.6 #ifdef MEAS__TIME_MALLOC 1.7 - _VMSMasterEnv->mallocTimeHist = makeFixedBinHistExt( 50, 0, 100, 1.8 + _VMSMasterEnv->mallocTimeHist = makeFixedBinHistExt( 100, 0, 100, 1.9 "malloc time hist"); 1.10 _VMSMasterEnv->freeTimeHist = makeFixedBinHistExt( 50, 0, 100, 1.11 "free time hist"); 1.12 @@ -671,13 +671,15 @@ 1.13 void 1.14 VMS__cleanup_at_end_of_shutdown() 1.15 { 1.16 - VMSQueueStruc **readyToAnimateQs; 1.17 - int coreIdx; 1.18 - VirtProcr **masterVPs; 1.19 - SchedSlot ***allSchedSlots; //ptr to array of ptrs 1.20 + //unused 1.21 + //VMSQueueStruc **readyToAnimateQs; 1.22 + //int coreIdx; 1.23 + //VirtProcr **masterVPs; 1.24 + //SchedSlot ***allSchedSlots; //ptr to array of ptrs 1.25 1.26 //Before getting rid of everything, print out any measurements made 1.27 forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, (DynArrayFnPtr)&printHist ); 1.28 + forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, (DynArrayFnPtr)&saveHistToFile); 1.29 //forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, &freeHistExt ); 1.30 #ifdef MEAS__TIME_PLUGIN 1.31 printHist( _VMSMasterEnv->reqHdlrLowTimeHist );
