VirtualBox

Changeset 32504 in vbox for trunk/include/iprt/timer.h


Ignore:
Timestamp:
Sep 15, 2010 10:12:38 AM (14 years ago)
Author:
vboxsync
Message:

SUPDrv,IPRT,VMM,DevAPIC: Added RTTimerCanDoHighResolution and exposed the RTTimer* API to the ring-0 modules. Fixed two regression from r65858 (TM + APIC).

File:
1 edited

Legend:

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

    r28800 r32504  
    216216RTDECL(int) RTTimerReleaseSystemGranularity(uint32_t u32Granted);
    217217
     218/**
     219 * Checks if the system support high resolution timers.
     220 *
     221 * The kind of support we are checking for is the kind of dynamically
     222 * reprogrammable timers employed by recent Solaris and Linux kernels.  It also
     223 * implies that we can specify microsecond (or even better maybe) intervals
     224 * without getting into trouble.
     225 *
     226 * @returns true if supported, false it not.
     227 */
     228RTDECL(bool) RTTimerCanDoHighResolution(void);
    218229
    219230
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