# HG changeset patch # User Me # Date 1284200767 25200 # Node ID 1df8d7f2c9b10e2faf06d836e73a2dbfac389083 # Parent 17d20e5cf9242427fd7c20b894ee2204393f9ca4 Added measurement of suspend time and master time Weird suspend-time histogram -- will try moving hist update out of coreloop and into app diff -r 17d20e5cf924 -r 1df8d7f2c9b1 VMS.c --- a/VMS.c Tue Sep 07 18:40:57 2010 -0700 +++ b/VMS.c Sat Sep 11 03:26:07 2010 -0700 @@ -130,7 +130,10 @@ //============================= MEASUREMENT STUFF ======================== #ifdef MEAS__TIME_STAMP_SUSP - _VMSMasterEnv->measSuspHist = makeHistogram( 25, 110, 135 ); + //RDTSC may run out of order, and so measure a time-span different + // from the desired time-span -- got some weird changes in suspend + // hist when added Master hist + _VMSMasterEnv->measSuspHist = makeHistogram( 25, 110, 1300 ); #endif #ifdef MEAS__TIME_MASTER @@ -369,12 +372,7 @@ ); #ifdef MEAS__TIME_STAMP_SUSP - //record time stamp into animating procr: compared to time-stamp - // recorded below, at the resume pt. - //NOTE: doing minimal work here 'cause only a few instrs executed in - // core loop, so only using bottom half of time-stamp -- have to - // externally do sanity check & throw out absurd values due to rollover - + //record time stamp: compare to time-stamp recorded below, at resume saveLowTimeStampCountInto( animatingPr->preSuspTSCLow ); #endif