Lines Matching refs:timer
40 #include "cpu/kvm/timer.hh"
54 * to specify which thread a timer signal gets delivered to. According
90 while (timer_create(clockID, &sev, &timer) == -1) {
98 timer_delete(timer);
114 DPRINTF(KvmTimer, "Arming POSIX timer: %i ticks (%is%ins)\n",
117 if (timer_settime(timer, 0, &ts, NULL) == -1)
118 panic("PosixKvmTimer: Failed to arm timer\n");
127 DPRINTF(KvmTimer, "Disarming POSIX timer\n");
129 if (timer_settime(timer, 0, &ts, NULL) == -1)
130 panic("PosixKvmTimer: Failed to disarm timer\n");
139 panic("PosixKvmTimer: Failed to get timer resolution\n");
153 // the resolution of the timer we use is 1ns (a few cycles on most