Click or drag to resize

ReplayTimerWaitNext Method

Blocks until the next scheduled frame rate interval.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.300-beta
Syntax
public void WaitNext()
View Source
Remarks
The deadline advances by exactly one period from the previous deadline (absolute cadence) so the long-term average rate stays locked to the defined frame rate even when frames arrive in bursts separated by buffer-read gaps. When the deadline is already at or behind the current time, the method returns without waiting so playback can catch back up; the accrued deficit is clamped (see MaxCatchUpLag) so a long stall cannot produce an unbounded burst of catch-up frames.
See Also