VirtualBox

Changeset 39910 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jan 30, 2012 4:05:58 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75982
Message:

Runtime/Timers: RTTimerLRChangeInterval function and testcase

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r39877 r39910  
    15431543# define RTTimerLRStart                                 RT_MANGLER(RTTimerLRStart)
    15441544# define RTTimerLRStop                                  RT_MANGLER(RTTimerLRStop)
     1545# define RTTimerLRChangeInterval                        RT_MANGLER(RTTimerLRChangeInterval)
    15451546# define RTTimerReleaseSystemGranularity                RT_MANGLER(RTTimerReleaseSystemGranularity) /* r0drv */
    15461547# define RTTimerRequestSystemGranularity                RT_MANGLER(RTTimerRequestSystemGranularity) /* r0drv */
  • trunk/include/iprt/timer.h

    r32572 r39910  
    355355RTDECL(int) RTTimerLRStop(RTTIMERLR hTimerLR);
    356356
     357/**
     358 * Changes the interval of a low resolution timer.
     359 *
     360 * If the timer is active, the next tick will occure immediately just like with
     361 * RTTimerLRStart() when u64First parameter is zero.
     362 *
     363 * @returns IPRT status code.
     364 * @retval  VERR_INVALID_HANDLE if pTimer isn't valid.
     365 * @retval  VERR_NOT_SUPPORTED if not supported.
     366 *
     367 * @param   hTimerLR            The low resolution timer to update.
     368 * @param   u64NanoInterval     The interval between timer ticks specified in
     369 *                              nanoseconds.  This is rounded to the fit the
     370 *                              system timer granularity.
     371 * @remarks Callable from the timer callback.
     372 */
     373RTDECL(int) RTTimerLRChangeInterval(RTTIMERLR hTimerLR, uint64_t u64NanoInterval);
     374
    357375/** @} */
    358376
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