VirtualBox

Changeset 69951 in vbox


Ignore:
Timestamp:
Dec 6, 2017 10:45:58 AM (7 years ago)
Author:
vboxsync
Message:

VMM/TMR3UtcNow: Log time changes between two calls larger than 30min. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/TM.cpp

    r69950 r69951  
    28362836    int64_t nsPrev = ASMAtomicXchgS64(&pVM->tm.s.nsLastUtcNow, RTTimeSpecGetNano(pTime));
    28372837    int64_t cNsDelta = RTTimeSpecGetNano(pTime) - nsPrev;
    2838     if (RT_ABS(cNsDelta) > RT_NS_1HOUR / 2)
     2838    if ((uint64_t)RT_ABS(cNsDelta) > RT_NS_1HOUR / 2)
    28392839        LogRel(("TMR3UtcNow: nsNow=%RI64 nsPrev=%RI64 -> cNsDelta=%RI64 (offLag=%RI64 offVirtualSync=%RU64 offVirtualSyncGivenUp=%RU64)\n",
    28402840                RTTimeSpecGetNano(pTime), nsPrev, cNsDelta, offLag, offVirtualSync, offVirtualSyncGivenUp));
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