C# Class DBreeze.Diagnostic.SpeedStatistic

Datei anzeigen Open project: hhblaze/DBreeze

Public Properties

Property Type Description
ToConsole bool

Public Methods

Method Description
ClearAll ( ) : void
GetCounter ( string counterName ) : Counter

Returns Counter object. Can return NULL if counter not found

PrintOut ( ) : void

Prints out stat for all counters without clearing statistic

PrintOut ( bool withResetingStatistic ) : void

Prints out stats for all counters

PrintOut ( string counterName ) : void

Prints out counter without clearing statistic for this counter

PrintOut ( string counterName, bool withClearingCounter ) : void

Prints out specified counter.

StartCounter ( string counterName ) : void

Starts counter

StopCounter ( string counterName ) : void

Stops counter

Method Details

ClearAll() public static method

public static ClearAll ( ) : void
return void

GetCounter() public static method

Returns Counter object. Can return NULL if counter not found
public static GetCounter ( string counterName ) : Counter
counterName string
return Counter

PrintOut() public static method

Prints out stat for all counters without clearing statistic
public static PrintOut ( ) : void
return void

PrintOut() public static method

Prints out stats for all counters
public static PrintOut ( bool withResetingStatistic ) : void
withResetingStatistic bool resets statistic
return void

PrintOut() public static method

Prints out counter without clearing statistic for this counter
public static PrintOut ( string counterName ) : void
counterName string
return void

PrintOut() public static method

Prints out specified counter.
public static PrintOut ( string counterName, bool withClearingCounter ) : void
counterName string
withClearingCounter bool
return void

StartCounter() public static method

Starts counter
public static StartCounter ( string counterName ) : void
counterName string
return void

StopCounter() public static method

Stops counter
public static StopCounter ( string counterName ) : void
counterName string
return void

Property Details

ToConsole public_oe static_oe property

Default is Debug.WriteLine, can be changed to Console.WriteLine
public static bool ToConsole
return bool