Class ProfilingUtility
Inheritance
ProfilingUtility
Syntax
public static class ProfilingUtility
Properties
currentSegment
Declaration
public static ProfiledSegment currentSegment { get; set; }
Property Value
rootSegment
Declaration
public static ProfiledSegment rootSegment { get; }
Property Value
Methods
BeginSample(String)
Declaration
[Conditional("ENABLE_PROFILER")]
public static void BeginSample(string name)
Parameters
Type |
Name |
Description |
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 |
String |
name |
|
Returns