Class TimeLogger
Tracks simulation and wall time, and periodically outputs to log.
Namespace: Unity.Simulation
Syntax
public static class TimeLogger
Properties
logFrameTiming
Enable/disable logging of FPS.
Declaration
public static bool logFrameTiming { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
loggingIntervalSeconds
Gets/sets the logging interval in seconds.
Declaration
public static float loggingIntervalSeconds { get; set; }
Property Value
Type | Description |
---|---|
Single |
logSimulationTime
Enable/disable logging of simulation time. Simulation time advances when the simulation is running.
Declaration
public static bool logSimulationTime { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
logUnscaledSimulationTime
Enable/disable logging of unscaled simulation time. Unscaled time is not affected by Time.timeScale.
Declaration
public static bool logUnscaledSimulationTime { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
logWallTime
Enable/disable logging of wall time. Wall time advances like time on the wall, i.e. always, independent of simulation state like pause etc.
Declaration
public static bool logWallTime { get; set; }
Property Value
Type | Description |
---|---|
Boolean |