Search Results for

    Show / Hide Table of Contents

    Class Profiler

    Provides C# scripts profiling methods.

    Inheritance
    System.Object
    Profiler
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public static class Profiler : Object
    Remarks

    Profiler is available in the editor and Debug/Development builds. Release builds don't have profiling tools.

    Methods

    BeginEvent(String)

    Begins profiling a piece of code with a custom label.

    Declaration
    public static void BeginEvent(string name)
    Parameters
    System.String name

    The name of the event.

    BeginEventGPU(String)

    Begins GPU profiling a piece of code with a custom label.

    Declaration
    public static void BeginEventGPU(string name)
    Parameters
    System.String name

    The name of the event.

    EndEvent()

    Ends profiling an event.

    Declaration
    public static extern void EndEvent()

    EndEventGPU()

    Ends GPU profiling an event.

    Declaration
    public static extern void EndEventGPU()
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat