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 SourcecurrentSegment
Declaration
public static ProfiledSegment currentSegment { get; set; }
Property Value
Type | Description |
---|---|
ProfiledSegment |
rootSegment
Declaration
public static ProfiledSegment rootSegment { get; }
Property Value
Type | Description |
---|---|
ProfiledSegment |
Methods
| Improve this Doc View SourceBeginSample(String)
Declaration
[Conditional("ENABLE_PROFILER")]
public static void BeginSample(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Clear()
Declaration
[Conditional("ENABLE_PROFILER")]
public static void Clear()
EndSample()
Declaration
[Conditional("ENABLE_PROFILER")]
public static void EndSample()
SampleBlock(String)
Declaration
public static ProfilingScope SampleBlock(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
ProfilingScope |