linux/rust/kernel/time
Lyude Paul 4b01474942 rust: hrtimer: Add HrTimer::expires()
Add a simple callback for retrieving the current expiry time for an
HrTimer. In rvkms, we use the HrTimer expiry value in order to calculate
the approximate vblank timestamp during each emulated vblank interrupt.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20250821193259.964504-8-lyude@redhat.com
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
2025-09-04 16:54:39 +02:00
..
hrtimer rust: hrtimer: Add HrTimerCallbackContext and ::forward() 2025-09-04 16:54:39 +02:00
delay.rs rust: time: Add wrapper for fsleep() function 2025-06-30 13:22:05 +02:00
hrtimer.rs rust: hrtimer: Add HrTimer::expires() 2025-09-04 16:54:39 +02:00