Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.c @ 187:fe5ad5726e36
counters working ...sort of
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 03 Feb 2012 17:32:48 +0100 |
| parents | 50b29548d4f0 |
| children | 20358f56e498 |
comparison
equal
deleted
inserted
replaced
| 88:99086e32e4c5 | 89:5bb73365cc52 |
|---|---|
| 434 //=========================== Measurement stuff ======================== | 434 //=========================== Measurement stuff ======================== |
| 435 #ifdef MEAS__TIME_STAMP_SUSP | 435 #ifdef MEAS__TIME_STAMP_SUSP |
| 436 //record time stamp: compare to time-stamp recorded below | 436 //record time stamp: compare to time-stamp recorded below |
| 437 saveLowTimeStampCountInto( animatingPr->preSuspTSCLow ); | 437 saveLowTimeStampCountInto( animatingPr->preSuspTSCLow ); |
| 438 #endif | 438 #endif |
| 439 #ifdef MEAS__PERF_COUNTERS | |
| 440 //start work | |
| 441 uint64 cycles,instrs; | |
| 442 saveCyclesAndInstrs(animatingPr->coreAnimatedBy,cycles, instrs); | |
| 443 (*(_VMSMasterEnv->counterHandler))(Procr_suspend,animatingPr,cycles,instrs); | |
| 444 #endif | |
| 439 //======================================================================= | 445 //======================================================================= |
| 440 | 446 |
| 441 switchToCoreLoop(animatingPr); | 447 switchToCoreLoop(animatingPr); |
| 442 flushRegisters(); | 448 flushRegisters(); |
| 443 | 449 |
