VirtualBox

Changeset 66988 in vbox for trunk


Ignore:
Timestamp:
May 19, 2017 2:23:32 PM (8 years ago)
Author:
vboxsync
Message:

tstRTR0Timer: when complaining about extreme deviation, print the ID of the current CPU

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTR0Timer.cpp

    r62477 r66988  
    860860                    {
    861861                        RTR0TESTR0_CHECK_MSG(RTCpuSetIsMemberByIndex(&OnlineSet, iCpu), ("%d\n", iCpu));
    862                         RTR0TESTR0_CHECK_MSG(paStates[iCpu].cTicks <= cMaxTicks && paStates[iCpu].cTicks >= cMinTicks,
    863                                              ("min=%u, ticks=%u, avg=%u max=%u, iCpu=%u, interval=%'u, elapsed=%'llu/%'llu\n",
     862                        RTR0TESTR0_CHECK_MSG(0 && (paStates[iCpu].cTicks <= cMaxTicks && paStates[iCpu].cTicks >= cMinTicks),
     863                                             ("min=%u, ticks=%u, avg=%u max=%u, iCpu=%u, iCpuCurr=%u, interval=%'u, elapsed=%'llu/%'llu\n",
    864864                                              cMinTicks, paStates[iCpu].cTicks, cAvgTicks, cMaxTicks, iCpu,
     865                                              RTMpCpuIdToSetIndex(RTMpCpuId()),
    865866                                              cNsInterval, cNsElapsed, cNsElapsedX));
    866867                    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette