Changeset 100147 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 9, 2023 4:16:06 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/VMEmt.cpp
r100002 r100147 628 628 VMMR3YieldStop(pVM); 629 629 630 uint32_t cMilliSecs = RT_MIN(u64NanoTS / 1000000, 15);631 if (cMilliSecs <= pUVCpu->vm.s.Halt.Method12.cNSBlockedTooLongAvg )630 uint32_t cMilliSecs = RT_MIN(u64NanoTS / RT_NS_1MS, 15); 631 if (cMilliSecs <= pUVCpu->vm.s.Halt.Method12.cNSBlockedTooLongAvg / RT_NS_1MS) 632 632 cMilliSecs = 1; 633 633 else 634 cMilliSecs -= pUVCpu->vm.s.Halt.Method12.cNSBlockedTooLongAvg ;634 cMilliSecs -= pUVCpu->vm.s.Halt.Method12.cNSBlockedTooLongAvg / RT_NS_1MS; 635 635 636 636 //RTLogRelPrintf("u64NanoTS=%RI64 cLoops=%3d sleep %02dms (%7RU64) ", u64NanoTS, cLoops, cMilliSecs, u64NanoTS);
Note:
See TracChangeset
for help on using the changeset viewer.