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

tm.h File Reference


Detailed Description

TM - Time Monitor.

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
 TMDECL (PTMTIMERRC) TMTimerRCPtr(PTMTIMER pTimer)
 TMDECL (PTMTIMERR0) TMTimerR0Ptr(PTMTIMER pTimer)
 TMDECL (PTMTIMERR3) TMTimerR3Ptr(PTMTIMER pTimer)

Virtual Clock Methods

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

CPU Clock Methods

uint64_t * poffRealTSC
uint64_t u64Tick
 TMDECL (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

Real Clock Methods
 TMDECL (uint64_t) TMRealGet(PVM pVM)


Generated by  Doxygen 1.6.0   Back to index