Profiler

Profiler

A basic profiling tool that can be used to measure time spent in sections of the engine.

Constructor

new Profiler()

Source:

Methods

(static) getProfilerSectionTexts(sectionName, profilerSection, outputs)

Convert measures for a section into texts. Useful for ingame profiling.

Parameters:
Name Type Description
sectionName

The name of the section

profilerSection

The section measures

outputs

The array where to push the results

Source:

getFramesAverageMeasures()

Return the measures for all the section of the game during the frames captured.

Source:

getStats()

Get stats measured during the frames captured.

Source: