Craig's Utility Library  4.0 Beta
Utilities.Profiler.Profiler Class Reference

Profiler object More...

Inheritance diagram for Utilities.Profiler.Profiler:
Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass

Public Member Functions

 Profiler (string FunctionName)
 Constructor More...
 
override string ToString ()
 ToString More...
 
- Public Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
void Dispose ()
 Dispose function More...
 

Static Public Member Functions

static IDisposable StartProfiling ()
 Starts profiling More...
 
static IResult StopProfiling (bool DiscardResults)
 Stops profiling and returns the result More...
 

Protected Member Functions

override void Dispose (bool Managed)
 Dispose function More...
 
- Protected Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
 SafeDisposableBaseClass ()
 Construct More...
 

Detailed Description

Profiler object

Definition at line 31 of file Profiler.cs.

Constructor & Destructor Documentation

Utilities.Profiler.Profiler.Profiler ( string  FunctionName)

Constructor

Parameters
FunctionNameFunction name

Definition at line 37 of file Profiler.cs.

Member Function Documentation

override void Utilities.Profiler.Profiler.Dispose ( bool  Managed)
protectedvirtual

Dispose function

Parameters
ManagedIs it managed or not

Implements Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass.

Definition at line 79 of file Profiler.cs.

static IDisposable Utilities.Profiler.Profiler.StartProfiling ( )
static

Starts profiling

Returns
The profiler object

Definition at line 51 of file Profiler.cs.

static IResult Utilities.Profiler.Profiler.StopProfiling ( bool  DiscardResults)
static

Stops profiling and returns the result

Parameters
DiscardResultsDetermines if the results should be discarded or not
Returns
Result of the profiling

Definition at line 61 of file Profiler.cs.

override string Utilities.Profiler.Profiler.ToString ( )

ToString

Returns
String equivalent of the info held by the profiler

Definition at line 70 of file Profiler.cs.


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