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

timer.h File Reference


Detailed Description

innotek Portable Runtime - 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_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)
#define RTTIMER_FLAGS_IS_VALID(fFlags)   ( !((fFlags) & ((fFlags) & RTTIMER_FLAGS_CPU_SPECIFIC ? 0x1ff : 0x100)) )

Typedefs

typedef FNRTTIMER * PFNRTTIMER
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