VirtualBox

Changeset 10753 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Jul 18, 2008 7:22:21 PM (17 years ago)
Author:
vboxsync
Message:

Stubs for all platforms. Implementation of host CPU load and RAM usage counters for Windows. Locking. Fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r10727 r10753  
    10561056        for (unsigned j = 0; j < retLengths[i]; j++)
    10571057        {
    1058             printf(", %d %s", retData[retIndices[i] + j], metricUnit.raw());
     1058            printf(", %d %ls", retData[retIndices[i] + j] / (strcmp((const char *)metricUnit.raw(), "%")?1:1000), metricUnit.raw());
    10591059        }
    10601060        printf("\n");
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