EasyEcs
API reference

SystemStats

How often and how long a system ran (WorldOptions.MeasureSystems): EcsSystem.OnUpdate plus its [ForEach] methods, per run.

public readonly struct SystemStats

How often and how long a system ran (WorldOptions.MeasureSystems): EcsSystem.OnUpdate plus its [ForEach] methods, per run. Read it between updates; with WorldOptions.ParallelSystems each system records its own runs.

Properties

Average

public TimeSpan Average { get; }

Average time per run (zero before the first).

Last

public TimeSpan Last { get; }

Time of the latest run.

Runs

public long Runs { get; }

Runs measured so far.

Total

public TimeSpan Total { get; }

Time of all measured runs.

Edit on GitHub

Last updated on

How is this guide?

On this page