VirtualBox

Ignore:
Timestamp:
Jun 1, 2016 8:13:49 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107658
Message:

Main: follow-up for r107642: during the first hour log everything

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp

    r61347 r61362  
    402402            if (ksAdapter == 0)
    403403            {
    404                 static uint64_t s_tsLogRelLast;
    405                 uint64_t tsNow = RTTimeSystemMilliTS();
    406                 if (tsNow - s_tsLogRelLast > RT_MS_1MIN)
     404                static uint32_t s_tsLogRelLast;
     405                uint32_t tsNow = RTTimeProgramSecTS();
     406                if (   tsNow < RT_SEC_1HOUR
     407                    || (tsNow - s_tsLogRelLast >= 60))
    407408                {
    408409                    s_tsLogRelLast = tsNow;
Note: See TracChangeset for help on using the changeset viewer.

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