C# Class UnityContrib.UnityEngine.Measure

Provides methods for doing measurements of code execution.
Afficher le fichier Open project: UnityContrib/framework

Méthodes publiques

Méthode Description
DebugLogTime ( string caption, System.Action action ) : void

Measures the time the specified action takes to execute.

Time ( System.Action action ) : float

Measures the time the specified action takes to execute.

Method Details

DebugLogTime() public static méthode

Measures the time the specified action takes to execute.
public static DebugLogTime ( string caption, System.Action action ) : void
caption string /// The caption of the measurement. ///
action System.Action /// The action to measure. ///
Résultat void

Time() public static méthode

Measures the time the specified action takes to execute.
public static Time ( System.Action action ) : float
action System.Action /// The action to measure. ///
Résultat float