VirtualBox

Changeset 81403 in vbox


Ignore:
Timestamp:
Oct 21, 2019 12:29:22 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134117
Message:

iprt/cdefs.h: More time constants. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r81374 r81403  
    34653465/** 1 hour expressed in nanoseconds (64-bit). */
    34663466#define RT_NS_1HOUR             UINT64_C(3600000000000)
     3467/** 30 minutes expressed in nanoseconds (64-bit). */
     3468#define RT_NS_30MIN             UINT64_C(1800000000000)
     3469/** 5 minutes expressed in nanoseconds (64-bit). */
     3470#define RT_NS_5MIN              UINT64_C(300000000000)
    34673471/** 1 minute expressed in nanoseconds (64-bit). */
    34683472#define RT_NS_1MIN              UINT64_C(60000000000)
    3469 /** 45 second expressed in nanoseconds. */
     3473/** 45 seconds expressed in nanoseconds (64-bit). */
    34703474#define RT_NS_45SEC             UINT64_C(45000000000)
    3471 /** 30 second expressed in nanoseconds. */
     3475/** 30 seconds expressed in nanoseconds (64-bit). */
    34723476#define RT_NS_30SEC             UINT64_C(30000000000)
    3473 /** 20 second expressed in nanoseconds. */
     3477/** 20 seconds expressed in nanoseconds (64-bit). */
    34743478#define RT_NS_20SEC             UINT64_C(20000000000)
    3475 /** 15 second expressed in nanoseconds. */
     3479/** 15 seconds expressed in nanoseconds (64-bit). */
    34763480#define RT_NS_15SEC             UINT64_C(15000000000)
    3477 /** 10 second expressed in nanoseconds. */
     3481/** 10 seconds expressed in nanoseconds (64-bit). */
    34783482#define RT_NS_10SEC             UINT64_C(10000000000)
    34793483/** 1 second expressed in nanoseconds. */
     
    34833487/** 10 millsecond expressed in nanoseconds. */
    34843488#define RT_NS_10MS              UINT32_C(10000000)
     3489/** 8 millsecond expressed in nanoseconds. */
     3490#define RT_NS_8MS               UINT32_C(8000000)
     3491/** 2 millsecond expressed in nanoseconds. */
     3492#define RT_NS_2MS               UINT32_C(2000000)
    34853493/** 1 millsecond expressed in nanoseconds. */
    34863494#define RT_NS_1MS               UINT32_C(1000000)
     
    35093517/** 1 hour expressed in microseconds. */
    35103518#define RT_US_1HOUR             UINT32_C(3600000000)
     3519/** 30 minutes expressed in microseconds. */
     3520#define RT_US_30MIN             UINT32_C(1800000000)
     3521/** 5 minutes expressed in microseconds. */
     3522#define RT_US_5MIN              UINT32_C(300000000)
    35113523/** 1 minute expressed in microseconds. */
    35123524#define RT_US_1MIN              UINT32_C(60000000)
     3525/** 45 seconds expressed in microseconds. */
     3526#define RT_US_45SEC             UINT32_C(45000000)
     3527/** 30 seconds expressed in microseconds. */
     3528#define RT_US_30SEC             UINT32_C(30000000)
     3529/** 20 seconds expressed in microseconds. */
     3530#define RT_US_20SEC             UINT32_C(20000000)
     3531/** 15 seconds expressed in microseconds. */
     3532#define RT_US_15SEC             UINT32_C(15000000)
     3533/** 10 seconds expressed in microseconds. */
     3534#define RT_US_10SEC             UINT32_C(10000000)
     3535/** 5 seconds expressed in microseconds. */
     3536#define RT_US_5SEC              UINT32_C(5000000)
    35133537/** 1 second expressed in microseconds. */
    35143538#define RT_US_1SEC              UINT32_C(1000000)
     
    35223546/** 1 hour expressed in microseconds - 64-bit type. */
    35233547#define RT_US_1HOUR_64          UINT64_C(3600000000)
     3548/** 30 minutes expressed in microseconds - 64-bit type. */
     3549#define RT_US_30MIN_64          UINT64_C(1800000000)
     3550/** 5 minutes expressed in microseconds - 64-bit type. */
     3551#define RT_US_5MIN_64           UINT64_C(300000000)
    35243552/** 1 minute expressed in microseconds - 64-bit type. */
    35253553#define RT_US_1MIN_64           UINT64_C(60000000)
     3554/** 45 seconds expressed in microseconds - 64-bit type. */
     3555#define RT_US_45SEC_64          UINT64_C(45000000)
     3556/** 30 seconds expressed in microseconds - 64-bit type. */
     3557#define RT_US_30SEC_64          UINT64_C(30000000)
     3558/** 20 seconds expressed in microseconds - 64-bit type. */
     3559#define RT_US_20SEC_64          UINT64_C(20000000)
     3560/** 15 seconds expressed in microseconds - 64-bit type. */
     3561#define RT_US_15SEC_64          UINT64_C(15000000)
     3562/** 10 seconds expressed in microseconds - 64-bit type. */
     3563#define RT_US_10SEC_64          UINT64_C(10000000)
     3564/** 5 seconds expressed in microseconds - 64-bit type. */
     3565#define RT_US_5SEC_64           UINT64_C(5000000)
    35263566/** 1 second expressed in microseconds - 64-bit type. */
    35273567#define RT_US_1SEC_64           UINT64_C(1000000)
     
    35353575/** 1 hour expressed in milliseconds. */
    35363576#define RT_MS_1HOUR             UINT32_C(3600000)
     3577/** 30 minutes expressed in milliseconds. */
     3578#define RT_MS_30MIN             UINT32_C(1800000)
     3579/** 5 minutes expressed in milliseconds. */
     3580#define RT_MS_5MIN              UINT32_C(300000)
    35373581/** 1 minute expressed in milliseconds. */
    35383582#define RT_MS_1MIN              UINT32_C(60000)
     3583/** 45 seconds expressed in milliseconds. */
     3584#define RT_MS_45SEC             UINT32_C(45000)
     3585/** 30 seconds expressed in milliseconds. */
     3586#define RT_MS_30SEC             UINT32_C(30000)
     3587/** 20 seconds expressed in milliseconds. */
     3588#define RT_MS_20SEC             UINT32_C(20000)
     3589/** 15 seconds expressed in milliseconds. */
     3590#define RT_MS_15SEC             UINT32_C(15000)
     3591/** 10 seconds expressed in milliseconds. */
     3592#define RT_MS_10SEC             UINT32_C(10000)
     3593/** 5 seconds expressed in milliseconds. */
     3594#define RT_MS_5SEC              UINT32_C(5000)
    35393595/** 1 second expressed in milliseconds. */
    35403596#define RT_MS_1SEC              UINT32_C(1000)
     
    35423598/** 1 hour expressed in milliseconds - 64-bit type. */
    35433599#define RT_MS_1HOUR_64          UINT64_C(3600000)
     3600/** 30 minutes expressed in milliseconds - 64-bit type. */
     3601#define RT_MS_30MIN_64          UINT64_C(1800000)
     3602/** 5 minutes expressed in milliseconds - 64-bit type. */
     3603#define RT_MS_5MIN_64           UINT64_C(300000)
    35443604/** 1 minute expressed in milliseconds - 64-bit type. */
    35453605#define RT_MS_1MIN_64           UINT64_C(60000)
     3606/** 45 seconds expressed in milliseconds - 64-bit type. */
     3607#define RT_MS_45SEC_64          UINT64_C(45000)
     3608/** 30 seconds expressed in milliseconds - 64-bit type. */
     3609#define RT_MS_30SEC_64          UINT64_C(30000)
     3610/** 20 seconds expressed in milliseconds - 64-bit type. */
     3611#define RT_MS_20SEC_64          UINT64_C(20000)
     3612/** 15 seconds expressed in milliseconds - 64-bit type. */
     3613#define RT_MS_15SEC_64          UINT64_C(15000)
     3614/** 10 seconds expressed in milliseconds - 64-bit type. */
     3615#define RT_MS_10SEC_64          UINT64_C(10000)
     3616/** 5 seconds expressed in milliseconds - 64-bit type. */
     3617#define RT_MS_5SEC_64           UINT64_C(5000)
    35463618/** 1 second expressed in milliseconds - 64-bit type. */
    35473619#define RT_MS_1SEC_64           UINT64_C(1000)
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