VirtualBox

Changeset 54320 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Feb 19, 2015 11:05:20 PM (10 years ago)
Author:
vboxsync
Message:

tstSupTscDelta.cpp: min/max fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupTscDelta.cpp

    r54306 r54320  
    104104            for (uint32_t i = 0; i < pGip->cCpus; i++)
    105105            {
    106                 aCpuStats[i].iLowest = INT64_MAX;
    107                 aCpuStats[i].uAbsMin = UINT64_MAX;
     106                aCpuStats[i].iLowest  = INT64_MAX;
     107                aCpuStats[i].iHighest = INT64_MIN;
     108                aCpuStats[i].uAbsMin  = UINT64_MAX;
    108109            }
    109110
     
    175176             */
    176177            RTPrintf("tstSupTscDelta: Results:\n");
    177             int64_t  iLowest  = 0;
    178             int64_t  iHighest = 0;
     178            int64_t  iLowest  = INT64_MAX;
     179            int64_t  iHighest = INT64_MIN;
    179180            int64_t  iTotal   = 0;
    180181            uint32_t cTotal   = 0;
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