C# Class DBreeze.Diagnostic.SpeedStatistic

Afficher le fichier Open project: hhblaze/DBreeze

Méthodes publiques

Свойство Type Description
ToConsole bool

Méthodes publiques

Méthode 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 méthode

public static ClearAll ( ) : void
Résultat void

GetCounter() public static méthode

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

PrintOut() public static méthode

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

PrintOut() public static méthode

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

PrintOut() public static méthode

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

PrintOut() public static méthode

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

StartCounter() public static méthode

Starts counter
public static StartCounter ( string counterName ) : void
counterName string
Résultat void

StopCounter() public static méthode

Stops counter
public static StopCounter ( string counterName ) : void
counterName string
Résultat void

Property Details

ToConsole public_oe static_oe property

Default is Debug.WriteLine, can be changed to Console.WriteLine
public static bool ToConsole
Résultat bool