Namespace: :ref:`WellFired<namespacewellfired>`
Implements: :ref:`WellFired.Profile.ISession<interfacewellfired_profile_isession>`
Our basic profiler object
Session ( )
Description
Creates a new instance of :ref:`Profile<namespacewellfired_profile>`, with default settings, you'll likely only need to call this
Session ( :ref:`ITimer<interfacewellfired_profile_probes_itimer>` timer, :ref:`IRuntimeTaskLooper<interfacewellfired_profile_utils_iruntimetasklooper>` runtimeTaskLooper )
Description
Creates a new instance of :ref:`Profile<namespacewellfired_profile>` allowing you to provide a custom timer and task looper
Parameters
timer
runtimeTaskLooper
void Track ( :ref:`IProbe<interfacewellfired_profile_probes_iprobe>` probe, :ref:`RecordMode<namespacewellfired_profile_probes_1a3a8dc0a82edb0eba6bb423fbc8910987>` recordMode = RecordMode.Continous, int interval = 0 )
Description
Tracks a given probe, with the passed data
Parameters
probe
The probe that we should track
recordMode
The record mode to use when we're getting tracked data
interval
The interval that we would like to use when retrieving tracked data
void Track ( Func< object > method, :ref:`RecordMode<namespacewellfired_profile_probes_1a3a8dc0a82edb0eba6bb423fbc8910987>` recordMode = RecordMode.Continous, int interval = 0 )
Description
Allows you to track custom data on this profiler, simply pass the method that will extract the custom data as the first parameter
Parameters
method
A delegate that will be used to extract custom data
recordMode
The record mode to use when we're getting tracked data
interval
The interval that we would like to use when retrieving tracked data
void Track ( IEnumerable< :ref:`DefaultProbe<classwellfired_profile_probes_defaultprobe>` > probes )
Description
Tracks a collection of probes.
Parameters
probes
void ProcessData ( :ref:`IProfileProcessor<interfacewellfired_profile_profileprocessor_iprofileprocessor>` processor )
Description
How do you want to process the data. We provide many default processors including the VisualProcessor, which will display data to the screen
Parameters
processor
void StartRecording ( )
Description
Start Recording :ref:`Data<namespacewellfired_profile_data>`
void StopRecording ( )
Description
Stop recording data