IContextedProfilerService
Interface IContextedProfilerService
Namespace: SwiftlyS2.Shared.Profiler
Assembly: SwiftlyS2.CS2.dll
public interface IContextedProfilerServiceMethods
RecordTime(string, double)
Record the time taken for the given profile.
void RecordTime(string name, double duration)Parameters
- name string — The name of the profile to record the time for.
- duration double — The duration to record.
StartRecording(string)
Start recording a new profile with the given name.
void StartRecording(string name)Parameters
- name string — The name of the profile to start.
StopRecording(string)
Stop recording the profile with the given name.
void StopRecording(string name)Parameters
- name string — The name of the profile to stop.