RSX Code Reference
    Preparing search index...
    • rsx
    • ProfilerGPU

    Class ProfilerGPU

    Profiler that measures time and amount of various GPU operations.

    Index
    • Returns number of profiling reports that are ready but haven't been retrieved yet.

      Returns number

      There is an internal limit of maximum number of available reports, where oldest ones will get deleted so make sure to call this often if you don't want to miss some.

      Thread safe.

    • Gets the latest GPU profiler report for a given camera.

      Parameters

      • camera: Camera

        The camera to generate an aggregate report for.

      • includeChildSamples: boolean

        If true, child samples will be included in the report.

      Returns JsonObject

      The GPU profiler report in JSON format, or an empty optional if no report is available.

    • Gets the latest report available. Keeps the returned report on the buffer. Returns an empty report if no reports are available. Same as GetLatestReportOptional(), but returns the report in JSON format.

      Parameters

      • includeChildSamples: boolean

      Returns JsonObject

      Thread safe.