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

tm.h File Reference


Detailed Description

TM - Time Manager. (VMM)

Definition in file tm.h.

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

Go to the source code of this file.

Timer Methods

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

Virtual Clock Methods

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

CPU Clock Methods

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

Defines

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

Enumerations

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

Functions

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


Generated by  Doxygen 1.6.0   Back to index