VirtualBox

Ignore:
Timestamp:
Feb 15, 2022 2:32:55 PM (3 years ago)
Author:
vboxsync
Message:

tstRTInlineAsm: Use picoseconds instead of nanoseconds when benchmarking inline assembly operations. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp

    r93754 r93755  
    28422842        } \
    28432843        u64Elapsed = RTTimeNanoTS() - u64Elapsed; \
    2844         RTTestValue(g_hTest, str, u64Elapsed / cRounds, RTTESTUNIT_NS_PER_CALL); \
     2844        RTTestValue(g_hTest, str, u64Elapsed * 1000 / cRounds, RTTESTUNIT_PS_PER_CALL); \
    28452845    } while (0)
    28462846#endif
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