Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

timer.h File Reference


Detailed Description

IPRT - Timer.

Definition in file timer.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>

Go to the source code of this file.

Defines

RTTimerCreateEx flags
#define RTTIMER_FLAGS_ARE_VALID(fFlags)   ( !((fFlags) & ~((fFlags) & RTTIMER_FLAGS_CPU_SPECIFIC ? 0x1ffU : 0x100U)) )
#define RTTIMER_FLAGS_CPU(iCpu)   ( (iCpu) | RTTIMER_FLAG_CPU_SPECIFIC )
#define RTTIMER_FLAGS_CPU_ALL   ( RTTIMER_FLAGS_CPU_MASK | RTTIMER_FLAGS_CPU_SPECIFIC )
#define RTTIMER_FLAGS_CPU_ANY   0
#define RTTIMER_FLAGS_CPU_MASK   0xff
#define RTTIMER_FLAGS_CPU_SPECIFIC   RT_BIT(8)

Typedefs

typedef void uint64_t iTick
typedef FNRTTIMER * PFNRTTIMER
typedef FNRTTIMERLR * PFNRTTIMERLR
typedef struct RTTIMERPRTTIMER
typedef void * pvUser

Functions

typedef DECLCALLBACK (void) FNRTTIMER(PRTTIMER pTimer
 RTDECL (uint32_t) RTTimerGetSystemGranularity(void)
 RTDECL (int) RTTimerCreate(PRTTIMER *ppTimer

Variables

uint64_t unsigned fFlags
unsigned PFNRTTIMER pfnTimer
uint32_t * pu32Granted
uint64_t u64First
uint64_t u64NanoInterval
unsigned uMilliesInterval


Generated by  Doxygen 1.6.0   Back to index