Show / Hide Table of Contents

    Class ProfilingUtility

    Inheritance
    System.Object
    ProfilingUtility
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Core.Profiling
    Assembly: Bayat.Core.Editor.dll
    Syntax
    public static class ProfilingUtility

    Properties

    | Improve this Doc View Source

    currentSegment

    Declaration
    public static ProfiledSegment currentSegment { get; set; }
    Property Value
    Type Description
    ProfiledSegment
    | Improve this Doc View Source

    rootSegment

    Declaration
    public static ProfiledSegment rootSegment { get; }
    Property Value
    Type Description
    ProfiledSegment

    Methods

    | Improve this Doc View Source

    BeginSample(String)

    Declaration
    [Conditional("ENABLE_PROFILER")]
    public static void BeginSample(string name)
    Parameters
    Type Name Description
    System.String name
    | Improve this Doc View Source

    Clear()

    Declaration
    [Conditional("ENABLE_PROFILER")]
    public static void Clear()
    | Improve this Doc View Source

    EndSample()

    Declaration
    [Conditional("ENABLE_PROFILER")]
    public static void EndSample()
    | Improve this Doc View Source

    SampleBlock(String)

    Declaration
    public static ProfilingScope SampleBlock(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    ProfilingScope
    • Improve this Doc
    • View Source
    • 0 Comments