 | Profiler.LogAverageTime Method |
Measures the execution time of a method.
Namespace:
BionicCode.Utilities.Net.Standard.Profiling
Assembly:
BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
SyntaxBionicCode.Utilities.Net.Standard.Profiling.Profiler.LogAverageTime = function(action, runCount);
Parameters
- action
- Type: System.Action
The code to measure execution time. - runCount
- Type: System.Int32
Number of iterations the action should be executed.
Return Value
Type:
TimeSpanThe average execution time of all
runCount number of iterations as
TimeSpan.
Remarks
See Also