VirtualBox

Ignore:
Timestamp:
Sep 15, 2010 10:12:38 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65880
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/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r32485 r32504  
    972972RT_EXPORT_SYMBOL(RTTimerReleaseSystemGranularity);
    973973
     974
     975RTDECL(bool) RTTimerCanDoHighResolution(void)
     976{
     977#ifdef RT_USE_LINUX_HRTIMER
     978    return true;
     979#else
     980    return false;
     981#endif
     982}
     983RT_EXPORT_SYMBOL(RTTimerCanDoHighResolution);
     984
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