Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff vmalloc.c @ 210:a18539c0bc37
Moved defines and probes into own directories
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Wed, 07 Mar 2012 22:53:50 -0800 |
| parents | 0c83ea8adefc |
| children | c88ce1db91ef |
line diff
1.1 --- a/vmalloc.c Sun Mar 04 14:26:35 2012 -0800 1.2 +++ b/vmalloc.c Wed Mar 07 22:53:50 2012 -0800 1.3 @@ -260,13 +260,8 @@ 1.4 VMS_int__free( void *ptrToFree ) 1.5 { 1.6 1.7 - //============================= MEASUREMENT STUFF ======================== 1.8 - #ifdef MEAS__TIME_MALLOC 1.9 - int32 startStamp, endStamp; 1.10 - saveLowTimeStampCountInto( startStamp ); 1.11 - #endif 1.12 - //======================================================================== 1.13 - 1.14 + MEAS__Capture_Pre_Free_Point; 1.15 + 1.16 MallocArrays* freeLists = _VMSMasterEnv->freeLists; 1.17 MallocProlog *chunkToFree = (MallocProlog*)ptrToFree - 1; 1.18 uint32 containerIdx; 1.19 @@ -307,13 +302,7 @@ 1.20 freeLists->bigChunksSearchVector[1] |= (uint64)1 << (containerIdx-64); 1.21 } 1.22 1.23 - //============================= MEASUREMENT STUFF ======================== 1.24 - #ifdef MEAS__TIME_MALLOC 1.25 - saveLowTimeStampCountInto( endStamp ); 1.26 - addIntervalToHist( startStamp, endStamp, _VMSMasterEnv->freeTimeHist ); 1.27 - #endif 1.28 - //======================================================================== 1.29 - 1.30 + MEAS__Capture_Post_Free_Point; 1.31 } 1.32 1.33 /*
