Request notification when the number of clock cycles specified by incr have elapsed in the guest
Synopsis:
#include <qvm/guest.h>
int guest_timer_notify(struct guest_timer *vtp,
const struct guest_timer_data *tdp,
uint64_t incr)
Arguments:
- vtp
- A pointer to a guest timer (returned by a call to guest_timer_create()).
- tdp
- The last notification information if the timer is repeating; NULL if the timer is single-use, or used for the first time.
- incr
- The number of clock cycles to wait before the timer should send its next notification
Library:
Provided by qvm; no external library is required.
Description:
The actual time of a wait specified by inc depends on the clock frequency guest_timer_create() returned in resolutionp.
Returns:
EOK if successful, otherwise errno.