API reference

VsdkProfiler Class

Voice SDK profiler abstraction layer providing common sampling methods that can be rerouted to your profiler of choice.

Static Fields

profilingEnabled : bool
Determines if profiling is enabled or not. In debug mode it will be on by default. Otherwise it will need to be turned on manually by the consuming application.
Signature
bool Meta.Voice.TelemetryUtilities.PerformanceTracing.VsdkProfiler.profilingEnabled
traceProvider : ITraceProvider
The active trace provider that will receive begin/end sample requests from VSDK logging and VsdkProfiler use
Signature
ITraceProvider Meta.Voice.TelemetryUtilities.PerformanceTracing.VsdkProfiler.traceProvider

Static Methods

BeginSample ( sampleName )
Begin sampling/tracking a profiler trace
Signature
static void Meta.Voice.TelemetryUtilities.PerformanceTracing.VsdkProfiler.BeginSample(string sampleName)
Parameters
sampleName: string  The name/keyword of the trace being tracked
Returns
void
EndSample ( sampleName )
End an active trace
Signature
static void Meta.Voice.TelemetryUtilities.PerformanceTracing.VsdkProfiler.EndSample(string sampleName)
Parameters
sampleName: string  The name/keyword of the trace being tracked
Returns
void