Lines Matching refs:timer
35 #include "qemu/timer.h"
381 timer_t timer;
383 HANDLE timer;
403 /* rearm timer, if not periodic */
529 // timer callback, which can be a signal handler on non-Windows platforms.
541 // it calls qemu-timer.c functions that acquire/release global mutexes.
570 // if a timer has really expired, in the case of non-dynamic alarms,
615 t->timer = host_timer;
622 timer_t host_timer = t->timer;
629 timer_t host_timer = t->timer;
644 /* check whether a timer is already running */
647 fprintf(stderr, "Internal timer error: aborting\n");
655 timeout.it_interval.tv_nsec = 0; /* 0 for one-shot timer */
660 fprintf(stderr, "Internal timer error: aborting\n");
675 /* timer signal */
753 fprintf(stderr, "Failed to initialize win32 alarm timer: %ld\n",
792 fprintf(stderr, "Failed to re-arm win32 alarm timer %ld\n",
805 /* If you call ChangeTimerQueueTimer on a one-shot timer (its period
806 is zero) that has already expired, the timer is not updated. Since
807 creating a new timer is relatively expensive, set a bogus one-hour
818 fprintf(stderr, "Failed to initialize win32 alarm timer: %ld\n",
823 t->timer = hTimer;
829 HANDLE hTimer = t->timer;
838 HANDLE hTimer = t->timer;
858 fprintf(stderr, "Failed to rearm win32 alarm timer: %ld\n",