file: ProfilerService.aus

class: ProfilerService

[21:7] extends: EngineService

Wraps FXGL's ProfilerService (com.almasb.fxgl.dev.profiling.ProfilerService), an EngineService that maintains three ProfilerWindow charts on the scene overlay: FPS, CPU time per frame (ms), and RAM usage (MB). Updates each chart every frame and logs a summary on engine exit. Registered with the engine; reach via fxgl.getService( "com.almasb.fxgl.dev.profiling.ProfilerService") and adopt. Direct construction from Aussom is not useful because the service depends on engine-injected fields.

Methods