Lines Matching defs:timer
50 * simulation ticks. The timer allows scaling of the host time to take
58 * When the timer times out, it sends a signal to the thread that
59 * started the timer. The signal forces KVM to drop out of the system
66 * Setup basic timer functionality shared by all timer
79 * Arm the timer so that it fires after a certain number of ticks.
81 * @note A timer implementation is free to convert between
83 * chooses. The accuracy of the timer therefore depends on what it
84 * measures, an accurate timer implementation should measure the
88 * @param ticks Number of ticks until the timer fires
92 * Disarm the timer.
94 * When this method has returned, the timer may no longer deliver
100 * Determine the resolution of the timer in ticks. This method is
101 * mainly used to determine the smallest number of ticks the timer
104 * @return Minimum number of ticks the timer can resolve
136 * Calculate the timer resolution, used by resolution() which
139 * @return Minimum number of ticks the timer can resolve
162 /** Signal to deliver when the timer times out */
176 * Timer based on standard POSIX timers. The POSIX timer API supports
204 timer_t timer;
208 * PerfEvent based timer using the host's CPU cycle counter.
212 * reliably, which might break this timer. See PerfKvmCounter::period()
219 * Create a timer that uses an existing hardware cycle counter.