Changeset 54313 in vbox for trunk/src/VBox/HostDrivers/Support/SUPDrv.c
- Timestamp:
- Feb 19, 2015 8:55:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r54312 r54313 6003 6003 { 6004 6004 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 6005 uint32_t cTimesMeasured = 0;6005 bool fInitialMeasurement = true; 6006 6006 uint32_t cConsecutiveTimeouts = 0; 6007 6007 int rc = VERR_INTERNAL_ERROR_2; … … 6063 6063 { 6064 6064 cConsecutiveTimeouts = 0; 6065 if ( !cTimesMeasured++)6065 if (fInitialMeasurement) 6066 6066 { 6067 6067 int cTries = 8; 6068 6068 int cMsWaitPerTry = 10; 6069 fInitialMeasurement = false; 6069 6070 do 6070 6071 { … … 6084 6085 PSUPGLOBALINFOPAGE pGip = pDevExt->pGip; 6085 6086 unsigned iCpu; 6086 6087 if (cTimesMeasured == UINT32_MAX)6088 cTimesMeasured = 1;6089 6087 6090 6088 /* Measure TSC-deltas only for the CPUs that are in the set. */
Note:
See TracChangeset
for help on using the changeset viewer.