Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.c @ 186:69eb54ce9c4b
fix uninitialised semantic Data bug
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 31 Jan 2012 18:30:35 +0100 |
| parents | 50b29548d4f0 |
| children | 20358f56e498 |
line diff
1.1 --- a/VMS.c Fri Jan 13 18:34:31 2012 +0100 1.2 +++ b/VMS.c Tue Jan 31 18:30:35 2012 +0100 1.3 @@ -436,6 +436,12 @@ 1.4 //record time stamp: compare to time-stamp recorded below 1.5 saveLowTimeStampCountInto( animatingPr->preSuspTSCLow ); 1.6 #endif 1.7 + #ifdef MEAS__PERF_COUNTERS 1.8 + //start work 1.9 + uint64 cycles,instrs; 1.10 + saveCyclesAndInstrs(animatingPr->coreAnimatedBy,cycles, instrs); 1.11 + (*(_VMSMasterEnv->counterHandler))(Procr_suspend,animatingPr,cycles,instrs); 1.12 + #endif 1.13 //======================================================================= 1.14 1.15 switchToCoreLoop(animatingPr);
