C# Class PerpetualEngine.PerformanceTimer

Exibir arquivo Open project: perpetual-mobile/PerpetualEngine

Public Methods

Method Description
Start ( string label ) : void

Start a performance measurement with the specified label.

Stop ( ) : void

Stop and print performance measurement of last used "Start" command.

Stop ( string label, string msg = "" ) : void

Stop and print performance measurement with the label used in "Start" command.

Method Details

Start() public static method

Start a performance measurement with the specified label.
public static Start ( string label ) : void
label string Label.
return void

Stop() public static method

Stop and print performance measurement of last used "Start" command.
public static Stop ( ) : void
return void

Stop() public static method

Stop and print performance measurement with the label used in "Start" command.
public static Stop ( string label, string msg = "" ) : void
label string
msg string
return void