Skip to content

SystemCost

Type

SystemCost reports per-system callback timings from Profiler.Systems.

Name

Field
Name: string

Name is the registered name of the system.

Phase

Field
Phase: SystemPhase

Phase is the frame phase in which the system runs.

Owner

Field
Owner: Entity?

Owner is the entity that registered the system, or nil when registered without an owning entity.

Average

Field
Average: number

Average is the smoothed per-frame run time in seconds.

Last

Field
Last: number

Last is the run time in seconds from the last frame.

Calls

Field
Calls: number

Calls is the number of times the system ran in the last frame.