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

Defines | Typedefs | Enumerations | Functions

tm.h File Reference

#include <VBox/cdefs.h>
#include <VBox/types.h>
Include dependency graph for tm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TMTIMER_FLAGS_DEFAULT_CRIT_SECT   0
#define TMTIMER_FLAGS_NO_CRIT_SECT   RT_BIT_32(0)
#define VBOX_HIGH_RES_TIMERS_HACK

Typedefs

typedef enum TMCLOCK TMCLOCK

Enumerations

enum  TMCLOCK {
  TMCLOCK_REAL = 0, TMCLOCK_VIRTUAL, TMCLOCK_VIRTUAL_SYNC, TMCLOCK_TSC,
  TMCLOCK_MAX
}

Functions

 VMMDECL (void) TMNotifyStartOfExecution(PVMCPU pVCpu)
 VMMDECL (uint32_t) TMGetWarpDrive(PVM pVM)
Real Clock Methods
 VMM_INT_DECL (uint64_t) TMRealGet(PVM pVM)

Timer Methods

typedef PTMTIMER pTimer
typedef PTMTIMER void * pvUser
typedef FNTMTIMERDEV * PFNTMTIMERDEV
typedef FNTMTIMERUSB * PFNTMTIMERUSB
typedef FNTMTIMERDRV * PFNTMTIMERDRV
typedef FNTMTIMERSRV * PFNTMTIMERSRV
typedef FNTMTIMERINT * PFNTMTIMERINT
typedef FNTMTIMEREXT * PFNTMTIMEREXT
uint64_t u64Expire
uint64_t cTicksToNext
uint64_t uint64_t * pu64Now
uint32_t cMilliesToNext
uint64_t cMicrosToNext
uint64_t cNanosToNext
uint64_t u64Ticks
PVMCPU uint64_t * pu64Delta
 VMM_INT_DECL (void) TMNotifyStartOfHalt(PVMCPU pVCpu)
typedef DECLCALLBACK (void) FNTMTIMERDEV(PPDMDEVINS pDevIns
 VMMDECL (PTMTIMERR3) TMTimerR3Ptr(PTMTIMER pTimer)
 VMMDECL (PTMTIMERR0) TMTimerR0Ptr(PTMTIMER pTimer)
 VMMDECL (PTMTIMERRC) TMTimerRCPtr(PTMTIMER pTimer)
 VMMDECL (int) TMTimerSet(PTMTIMER pTimer
 VMMDECL (bool) TMTimerIsActive(PTMTIMER pTimer)

Virtual Clock Methods

bool fCheckTimers
uint64_t u64VirtualTicks
uint64_t u64NanoTS
uint64_t u64MicroTS
uint64_t u64MilliTS
 VMM_INT_DECL (uint32_t) TMVirtualSyncGetCatchUpPct(PVM pVM)

CPU Clock Methods

uint64_t * poffRealTSC
PVMCPU pVCpu
PVMCPU uint64_t u64Tick
uint64_t u64LastSeenTick
 VMMDECL (uint64_t) TMCpuTickGet(PVMCPU pVCpu)
 VMM_INT_DECL (bool) TMCpuTickCanUseRealTSC(PVMCPU pVCpu
 VMM_INT_DECL (int) TMCpuTickSet(PVM pVM

Detailed Description

TM - Time Manager. (VMM)

Definition in file tm.h.


Generated by  Doxygen 1.6.0   Back to index