Struct alacritty::display::FrameTimer
source · pub struct FrameTimer {
base: Instant,
last_synced_timestamp: Instant,
refresh_interval: Duration,
}
Expand description
The frame timer state.
Fields§
§base: Instant
Base timestamp used to compute sync points.
last_synced_timestamp: Instant
The last timestamp we synced to.
refresh_interval: Duration
The refresh rate we’ve used to compute sync timestamps.