VirtualBox

Changeset 93310 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 18, 2022 11:32:28 AM (3 years ago)
Author:
vboxsync
Message:

Main: VC++ 19.2 update 11 build adjustments (lossy floating point conversions). Also, IPRT does support formatting floating point numbers. bugref:8489

File:
1 edited

Legend:

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

    r93115 r93310  
    143143        N_CALLS(cVMs, getProcessMemoryUsage(processes[call], &tmp));
    144144    }
    145     RTPrintf("\n%d VMs -- %.2f%% of CPU time\n", cVMs, (RTTimeNanoTS() - start) / 10000000. / times);
     145    RTPrintf("\n%d VMs -- %u%% of CPU time\n", cVMs, (unsigned)((double)(RTTimeNanoTS() - start) / 10000000.0 / times));
    146146
    147147    /* Shut down fake VMs */
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