Method Begin
Begin(ProfilerMarker, int)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, int metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
int | metadata | ''int'' parameter. |
Remarks
Does nothing in Release Players.
Begin(ProfilerMarker, uint)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, uint metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
uint | metadata | ''uint'' parameter. |
Remarks
Does nothing in Release Players.
Begin(ProfilerMarker, long)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, long metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
long | metadata | ''long'' parameter. |
Remarks
Does nothing in Release Players.
Begin(ProfilerMarker, ulong)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, ulong metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
ulong | metadata | ''ulong'' parameter. |
Remarks
Does nothing in Release Players.
Begin(ProfilerMarker, float)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, float metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
float | metadata | ''float'' parameter. |
Remarks
Does nothing in Release Players.
Begin(ProfilerMarker, double)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, double metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
double | metadata | ''double'' parameter. |
Remarks
Does nothing in Release Players.
Begin(ProfilerMarker, string)
Begin profiling a piece of code marked with the ProfilerMarker instance.
Declaration
[Conditional("ENABLE_PROFILER")]
[Pure]
public static void Begin(this ProfilerMarker marker, string metadata)
Parameters
Type | Name | Description |
---|---|---|
ProfilerMarker | marker | ProfilerMarker instance. |
string | metadata | ''string'' parameter. |
Remarks
Does nothing in Release Players.