Craig's Utility Library  4.0 Beta
Utilities.Profiler.Manager.Interfaces.IProfiler Interface Reference

Profiler interface More...

Inheritance diagram for Utilities.Profiler.Manager.Interfaces.IProfiler:
Utilities.Profiler.Manager.Default.Profiler

Public Member Functions

IDisposable Profile (string Name)
 Starts profiling, saving the information to the name specified More...
 
IDisposable StartProfiling ()
 Starts profiling More...
 
IResult StopProfiling (bool DiscardResults)
 Stops profiling and returns the information captured More...
 

Detailed Description

Profiler interface

Definition at line 29 of file IProfiler.cs.

Member Function Documentation

IDisposable Utilities.Profiler.Manager.Interfaces.IProfiler.Profile ( string  Name)

Starts profiling, saving the information to the name specified

Parameters
NameName of the profiler
Returns
IDisposable that will stop the profiler when disposed of

Implemented in Utilities.Profiler.Manager.Default.Profiler.

IDisposable Utilities.Profiler.Manager.Interfaces.IProfiler.StartProfiling ( )

Starts profiling

Returns
Starts profiling

Implemented in Utilities.Profiler.Manager.Default.Profiler.

IResult Utilities.Profiler.Manager.Interfaces.IProfiler.StopProfiling ( bool  DiscardResults)

Stops profiling and returns the information captured

Parameters
DiscardResultsDetermines if the results are kept or discarded
Returns
The results from the profiling

Implemented in Utilities.Profiler.Manager.Default.Profiler.


The documentation for this interface was generated from the following file: