VirtualBox

Ignore:
Timestamp:
Jan 18, 2022 11:25:24 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149370
Message:

ValKit: VC++ 19.2 update 11 build adjustments (uint64_t -> double conversions). bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/fs/FsPerf.cpp

    r93115 r93302  
    45084508        RTTestIValueF(ns / iIteration, \
    45094509                      RTTESTUNIT_NS_PER_OCCURRENCE, a_szOperation "/seq/%RU32 latency", cbBlock); \
    4510         RTTestIValueF((uint64_t)((uint64_t)iIteration * cbBlock / ((double)ns / RT_NS_1SEC)), \
     4510        RTTestIValueF((uint64_t)((double)(iIteration * cbBlock) / ((double)ns / RT_NS_1SEC)), \
    45114511                      RTTESTUNIT_BYTES_PER_SEC,     a_szOperation "/seq/%RU32 throughput", cbBlock); \
    45124512        RTTestIValueF(iIteration, \
     
    61066106                RTTestIValueF(ns / iIteration, \
    61076107                              RTTESTUNIT_NS_PER_OCCURRENCE, a_szOperation " latency"); \
    6108                 RTTestIValueF((uint64_t)((uint64_t)iIteration * cbFile / ((double)ns / RT_NS_1SEC)), \
     6108                RTTestIValueF((uint64_t)((double)(iIteration * cbFile) / ((double)ns / RT_NS_1SEC)), \
    61096109                              RTTESTUNIT_BYTES_PER_SEC,     a_szOperation " throughput"); \
    61106110                RTTestIValueF((uint64_t)iIteration * cbFile, \
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