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

tm.h File Reference


Detailed Description

TM - Time Manager.

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 * pu64Delta
uint64_t u64Expire
uint64_t u64Ticks
typedef FNTMTIMERDEV * PFNTMTIMERDEV
typedef FNTMTIMERDRV * PFNTMTIMERDRV
typedef FNTMTIMEREXT * PFNTMTIMEREXT
typedef FNTMTIMERINT * PFNTMTIMERINT
typedef FNTMTIMERSRV * PFNTMTIMERSRV
typedef PTMTIMER pTimer
typedef PTMTIMER void * pvUser
typedef DECLCALLBACK (void) FNTMTIMERDEV(PPDMDEVINS pDevIns
 VMMDECL (PTMTIMERRC) TMTimerRCPtr(PTMTIMER pTimer)
 VMMDECL (PTMTIMERR0) TMTimerR0Ptr(PTMTIMER pTimer)
 VMMDECL (PTMTIMERR3) TMTimerR3Ptr(PTMTIMER pTimer)

Virtual Clock Methods

bool fCheckTimers
uint32_t u32Percent
uint64_t u64MicroTS
uint64_t u64MilliTS
uint64_t u64NanoTS
uint64_t u64VirtualTicks
 VMMDECL (int) TMVirtualResume(PVM pVM)
 VMMDECL (uint32_t) TMVirtualSyncGetCatchUpPct(PVM pVM)

CPU Clock Methods

uint64_t * poffRealTSC
uint64_t u64Tick
 VMMDECL (bool) TMCpuTickCanUseRealTSC(PVM pVM

Defines

#define VBOX_HIGH_RES_TIMERS_HACK

Enumerations

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

Functions

 VMMDECL (void) TMNotifyStartOfExecution(PVM pVM)
Real Clock Methods
 VMMDECL (uint64_t) TMRealGet(PVM pVM)


Generated by  Doxygen 1.6.0   Back to index