Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
changeset 143:73ceeac12a79
Enable histogramm free again, was allocated with VMS__malloc and free'd with systems free
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 21 Sep 2011 16:29:53 +0200 |
| parents | 97e26095c01f |
| children | ac41df8d08e9 |
| files | VMS.c VMS.h |
| diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line diff
1.1 --- a/VMS.c Mon Jul 11 18:09:43 2011 +0200 1.2 +++ b/VMS.c Wed Sep 21 16:29:53 2011 +0200 1.3 @@ -680,7 +680,7 @@ 1.4 //Before getting rid of everything, print out any measurements made 1.5 forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, (DynArrayFnPtr)&printHist ); 1.6 forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, (DynArrayFnPtr)&saveHistToFile); 1.7 - //forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, &freeHistExt ); 1.8 + forAllInDynArrayDo( _VMSMasterEnv->measHistsInfo, &freeHist ); 1.9 #ifdef MEAS__TIME_PLUGIN 1.10 printHist( _VMSMasterEnv->reqHdlrLowTimeHist ); 1.11 saveHistToFile( _VMSMasterEnv->reqHdlrHighTimeHist );
2.1 --- a/VMS.h Mon Jul 11 18:09:43 2011 +0200 2.2 +++ b/VMS.h Wed Sep 21 16:29:53 2011 +0200 2.3 @@ -411,11 +411,11 @@ 2.4 #ifdef VPTHREAD 2.5 2.6 //VPThread 2.7 -#define createHistIdx 1 2.8 -#define mutexLockHistIdx 2 2.9 -#define mutexUnlockHistIdx 3 2.10 -#define condWaitHistIdx 4 2.11 -#define condSignalHistIdx 5 2.12 +#define createHistIdx 0 2.13 +#define mutexLockHistIdx 1 2.14 +#define mutexUnlockHistIdx 2 2.15 +#define condWaitHistIdx 3 2.16 +#define condSignalHistIdx 4 2.17 2.18 #define MakeTheMeasHists() \ 2.19 _VMSMasterEnv->measHistsInfo = \
