C# Class PerpetualEngine.PerformanceTimer

Afficher le fichier Open project: perpetual-mobile/PerpetualEngine

Méthodes publiques

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

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

Stop() public static méthode

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

Stop() public static méthode

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