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

enum TMCLOCK

Clock type.

Enumerator:
TMCLOCK_REAL  Real host time. This clock ticks all the time, so use with care.
TMCLOCK_VIRTUAL  Virtual guest time. This clock only ticks when the guest is running. It's implemented as an offset to real time.
TMCLOCK_VIRTUAL_SYNC  Virtual guest synchronized timer time. This is a special clock and timer queue for synchronizing virtual timers and virtual time sources. This clock is trying to keep up with TMCLOCK_VIRTUAL, but will wait for timers to be executed. If it lags too far behind TMCLOCK_VIRTUAL, it will try speed up to close the distance.
Remarks:
Do not use this unless you *must*.
TMCLOCK_TSC  Virtual CPU timestamp. (Running only when we're executing guest code.)
TMCLOCK_MAX  Number of clocks.

Definition at line 52 of file tm.h.

{
    /** Real host time.
     * This clock ticks all the time, so use with care. */
    TMCLOCK_REAL = 0,
    /** Virtual guest time.
     * This clock only ticks when the guest is running. It's implemented
     * as an offset to real time. */
    TMCLOCK_VIRTUAL,
    /** Virtual guest synchronized timer time.
     * This is a special clock and timer queue for synchronizing virtual timers and
     * virtual time sources. This clock is trying to keep up with TMCLOCK_VIRTUAL,
     * but will wait for timers to be executed. If it lags too far behind TMCLOCK_VIRTUAL,
     * it will try speed up to close the distance.
     * @remarks Do not use this unless you *must*. */
    TMCLOCK_VIRTUAL_SYNC,
    /** Virtual CPU timestamp. (Running only when we're executing guest code.) */
    TMCLOCK_TSC,
    /** Number of clocks. */
    TMCLOCK_MAX
} TMCLOCK;


Generated by  Doxygen 1.6.0   Back to index