API Reference › ProfilerIContextedProfilerServiceInterfaceNamespace: SwiftlyS2.Shared.Profiler · Assembly: SwiftlyS2.CS2.dllpublic interface IContextedProfilerServiceView sourceMethodsRecordTime(string, double)Record the time taken for the given profile.void RecordTime(string name, double duration)ParametersnamestringThe name of the profile to record the time for.durationdoubleThe duration to record.StartRecording(string)Start recording a new profile with the given name.void StartRecording(string name)ParametersnamestringThe name of the profile to start.StopRecording(string)Stop recording the profile with the given name.void StopRecording(string name)ParametersnamestringThe name of the profile to stop.