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: InstantBase timestamp used to compute sync points.
last_synced_timestamp: InstantThe last timestamp we synced to.
refresh_interval: DurationThe refresh rate we’ve used to compute sync timestamps.