Class FollowerHistory.ArrivalClock
java.lang.Object
ac.boar.anticheat.prediction.vehicle.FollowerHistory.ArrivalClock
- Enclosing class:
FollowerHistory
How uneven input arrivals are (jitter). Shared by all histories of one connection, so a new history does not need new samples.
We fit a straight line to (tick, arrival time - tick * 50 ms) and take the spread around it. The line removes a steady drift in tick rate.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArrivalClock
public ArrivalClock()
-
-
Method Details
-
observe
public void observe(long nowNs, long tick)
-