Changeset 54464 in vbox
- Timestamp:
- Feb 24, 2015 6:07:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r54462 r54464 2480 2480 * Select TSC delta measurement algorithm. 2481 2481 */ 2482 #if 12482 #if 0 2483 2483 # define GIP_TSC_DELTA_METHOD_1 2484 2484 #else … … 2516 2516 uint32_t au64CacheLinePaddingAfter[GIP_TSC_DELTA_CACHE_LINE_SIZE / sizeof(uint32_t) - 1]; 2517 2517 /** Result table. */ 2518 SUPDRVTSCDELTAMETHOD2ENTRY aResults[ 96];2518 SUPDRVTSCDELTAMETHOD2ENTRY aResults[64]; 2519 2519 } SUPDRVTSCDELTAMETHOD2; 2520 2520 /** Pointer to the data for TSC delta mesurment algorithm \#2 .*/ … … 2601 2601 bool fLagMaster; 2602 2602 bool fLagWorker; 2603 # if 0 /* pointless now */ 2603 2604 bool volatile fQuitEarly; 2605 # endif 2604 2606 } M2; 2605 2607 #endif … … 3126 3128 */ 3127 3129 3128 # define GIP_TSC_DELTA_M2_LOOPS ( 8+ GIP_TSC_DELTA_M2_PRIMER_LOOPS)3129 # define GIP_TSC_DELTA_M2_PRIMER_LOOPS 13130 # define GIP_TSC_DELTA_M2_LOOPS (7 + GIP_TSC_DELTA_M2_PRIMER_LOOPS) 3131 # define GIP_TSC_DELTA_M2_PRIMER_LOOPS 0 3130 3132 3131 3133 … … 3263 3265 unsigned iLoop; 3264 3266 3267 #if 0 /* pointless now */ 3265 3268 if (fIsMaster) 3266 3269 ASMAtomicWriteBool(&pArgs->M2.fQuitEarly, false); 3270 #endif 3267 3271 3268 3272 for (iLoop = 0; iLoop < GIP_TSC_DELTA_M2_LOOPS; iLoop++) … … 3329 3333 } 3330 3334 3335 #if 0 /* pointless now */ 3331 3336 if (ASMAtomicReadBool(&pArgs->M2.fQuitEarly)) 3332 3337 break; 3338 #endif 3333 3339 3334 3340 } … … 3744 3750 if (fIsMaster) 3745 3751 { 3746 #if 03752 #if 1 3747 3753 if (pGipCpuWorker->i64TSCDelta != INT64_MAX) 3748 3754 #else
Note:
See TracChangeset
for help on using the changeset viewer.