VirtualBox

Changeset 93754 in vbox for trunk/include


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

IPRT,ValKit,VMMDevTesting.h: Added picoseconds to the test units. bugref:9898

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDevTesting.h

    r93115 r93754  
    185185#define VMMDEV_TESTING_UNIT_TICKS_PER_PAGE      UINT8_C(0x25)   /**< CPU ticks per page. */
    186186#define VMMDEV_TESTING_UNIT_NS_PER_PAGE         UINT8_C(0x26)   /**< Nanoseconds per page. */
     187#define VMMDEV_TESTING_UNIT_PS                  UINT8_C(0x27)   /**< Picoseconds. */
     188#define VMMDEV_TESTING_UNIT_PS_PER_CALL         UINT8_C(0x28)   /**< Picoseconds per call. */
     189#define VMMDEV_TESTING_UNIT_PS_PER_FRAME        UINT8_C(0x29)   /**< Picoseconds per frame. */
     190#define VMMDEV_TESTING_UNIT_PS_PER_OCCURRENCE   UINT8_C(0x2a)   /**< Picoseconds per occurrence. */
     191#define VMMDEV_TESTING_UNIT_PS_PER_PACKET       UINT8_C(0x2b)   /**< Picoseconds per frame. */
     192#define VMMDEV_TESTING_UNIT_PS_PER_ROUND_TRIP   UINT8_C(0x2c)   /**< Picoseconds per round trip. */
     193#define VMMDEV_TESTING_UNIT_PS_PER_PAGE         UINT8_C(0x2d)   /**< Picoseconds per page. */
    187194/** @}  */
    188195
  • trunk/include/iprt/test.h

    r93115 r93754  
    524524    RTTESTUNIT_TICKS_PER_PAGE,                  /**< CPU ticks per page. */
    525525    RTTESTUNIT_NS_PER_PAGE,                     /**< Nanoseconds per page. */
     526    RTTESTUNIT_PS,                              /**< Picoseconds. */
     527    RTTESTUNIT_PS_PER_CALL,                     /**< Picoseconds per call. */
     528    RTTESTUNIT_PS_PER_FRAME,                    /**< Picoseconds per frame. */
     529    RTTESTUNIT_PS_PER_OCCURRENCE,               /**< Picoseconds per occurrence. */
     530    RTTESTUNIT_PS_PER_PACKET,                   /**< Picoseconds per frame. */
     531    RTTESTUNIT_PS_PER_ROUND_TRIP,               /**< Picoseconds per round trip. */
     532    RTTESTUNIT_PS_PER_PAGE,                     /**< Picoseconds per page. */
    526533
    527534    /** The end of valid units. */
     
    531538AssertCompile(RTTESTUNIT_NONE        == 0x1b);
    532539AssertCompile(RTTESTUNIT_NS_PER_PAGE == 0x26);
     540AssertCompile(RTTESTUNIT_PS_PER_PAGE == 0x2d);
    533541
    534542/**
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