Table of Contents

Class RealtimeOptions

Namespace
DotFly
Assembly
DotFly.Engine.dll

Options for RealtimeDriver.

public sealed record RealtimeOptions : IEquatable<RealtimeOptions>
Inheritance
RealtimeOptions
Implements
Inherited Members

Properties

MaxLag

If the simulation falls behind the wall clock by more than this, the deficit is forgiven (neural time is never silently slowed, but it is not "caught up" either after a stall).

public TimeSpan MaxLag { get; init; }

Property Value

TimeSpan

MaxStepsPerTick

Most steps advanced in one go before re-checking the clock.

public int MaxStepsPerTick { get; init; }

Property Value

int

Ratio

Neural seconds per wall second to aim for. 1 = real time.

public double Ratio { get; init; }

Property Value

double

StatsWindow

Statistics window for RecentRealTimeFactor.

public TimeSpan StatsWindow { get; init; }

Property Value

TimeSpan