guest_timer_data

Structure for timer information

Synopsis:

#include <qvm/guest.h>
struct guest_timer_data {
    uint64_t host_notify_start;
    uint64_t host_current;
    uint64_t guest_notify_start;
    uint64_t guest_current;
} ;

Data:

uint64_t host_notify_start

The time at which the timer started, as observed by the hypervisor host.

uint64_t host_current

The current time, as observed by the hypervisor host .

uint64_t guest_notify_start

The time at which the timer started, as observed by the guest.

uint64_t guest_current

The current time, as observed by the guest.

Library:

Provided by qvm; no external library is required.

Description:

The host_* members present time elapsed in the host; the source of this information is the ClockCycles() function; the guest_* members present time elapsed in the guest timeline, which is maintained by the hypervisor. There is no direct correspondence between the values in the host_* and guest_* members (see "Time" in the QHS 2.0 User's Guide).