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

Constructors

Methods

  • Return the total time of each captured frame, in chronological order (up to the last 600 frames).

    Returns number[]

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

    Parameters

    • sectionName: string

      The name of the section

    • profilerSection: FrameMeasureOutput

      The section measures

    • outputs: string[]

      The array where to push the results

    • Optional parentTime: null | number

    Returns void