C# Class Codaxy.Common.Benchmarking.BenchmarkResults

Afficher le fichier Open project: codaxy/common

Méthodes publiques

Méthode Description
CreateStopwatch ( String name, int repeats = 1 ) : BenchmarkStopwatch
GetResults ( ) : Codaxy.Common.Benchmarking.BenchmarkResult[]
Report ( String benchmarkName, System.TimeSpan span ) : void
Report ( String benchmarkName, System.TimeSpan span, int count ) : void
Reset ( ) : void

Private Methods

Méthode Description
Acquire ( String name ) : BenchmarkResult

Method Details

CreateStopwatch() public méthode

public CreateStopwatch ( String name, int repeats = 1 ) : BenchmarkStopwatch
name String
repeats int
Résultat BenchmarkStopwatch

GetResults() public méthode

public GetResults ( ) : Codaxy.Common.Benchmarking.BenchmarkResult[]
Résultat Codaxy.Common.Benchmarking.BenchmarkResult[]

Report() public méthode

public Report ( String benchmarkName, System.TimeSpan span ) : void
benchmarkName String
span System.TimeSpan
Résultat void

Report() public méthode

public Report ( String benchmarkName, System.TimeSpan span, int count ) : void
benchmarkName String
span System.TimeSpan
count int
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void