Photon Quantum 3.0.0

Public Member Functions | List of all members
IHostProfiler Interface Reference

Interface for the host profiler. More...

Public Member Functions

HostProfilerMarker CreateMarker (string name)
 Creates a new marker with the specified name. More...
 
void EndLastNamedMarker ()
 Ends profiling for the last named marker. More...
 
void EndMarker (HostProfilerMarker marker)
 Stops profiling for the specified marker. More...
 
void StartMarker (HostProfilerMarker marker)
 Starts profiling for the specified marker. More...
 
void StartNamedMarker (string markerName)
 Starts profiling for the specified named marker. Use EndLastNamedMarker to stop profiling. More...
 

Detailed Description

Interface for the host profiler.

Member Function Documentation

◆ CreateMarker()

HostProfilerMarker IHostProfiler.CreateMarker ( string  name)

Creates a new marker with the specified name.

Parameters
name
Returns

◆ StartMarker()

void IHostProfiler.StartMarker ( HostProfilerMarker  marker)

Starts profiling for the specified marker.

Parameters
marker

◆ EndMarker()

void IHostProfiler.EndMarker ( HostProfilerMarker  marker)

Stops profiling for the specified marker.

Parameters
marker

◆ StartNamedMarker()

void IHostProfiler.StartNamedMarker ( string  markerName)

Starts profiling for the specified named marker. Use EndLastNamedMarker to stop profiling.

Parameters
markerName

◆ EndLastNamedMarker()

void IHostProfiler.EndLastNamedMarker ( )

Ends profiling for the last named marker.