Class DeviceTimeContinuousMonitor
Compares the device wall clock with a monotonic clock and reports when they disagree.
Implements
Inherited Members
Namespace: GUPS.AntiCheat.Monitor.Time
Assembly: cs.temp.dll.dll
Syntax
public class DeviceTimeContinuousMonitor : AMonitor<IWatchedSubject>
Properties
Name
Gets the display name of the monitor.
Declaration
public override String Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
Tolerance
Allowed deviation in seconds, never below GUPS.AntiCheat.Monitor.Time.DeviceTimeContinuousMonitor.MinTolerance.
Declaration
public float Tolerance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
ForceRead()
Compares the wall clock with the monotonic clock and returns that finding. Does not notify observers and does not move the stored baseline.
Declaration
public override IWatchedSubject ForceRead()
Returns
| Type | Description |
|---|---|
| IWatchedSubject | The current clock DeviceTimeStatus. |
Overrides
Remarks
Before the clocks are anchored, and while a resume gap is still waiting for the next update, the deviation is None or the deviation already stored. A resume gap is not part of this finding. The comparison is already available, so the call returns it directly.
OnResume()
Publishes a clock classification that was stored while the monitor was paused.
Declaration
protected override void OnResume()
Overrides
OnStart()
Captures the wall clock and the monotonic clock.
Declaration
protected override void OnStart()
Overrides
OnUpdate()
Compares the wall clock with the monotonic clock.
Declaration
protected override void OnUpdate()