Joutsen v0.5.0+12-g5dd5f7e
Public Member Functions | Properties | List of all members
Joutsen.Diagnostics.RepeatedTimerRun Class Reference

A class representing the results of multiple repeated runs of a performance test. More...

Public Member Functions

 RepeatedTimerRun ()
 
void AddRun (TimerRun run)
 Adds a test run. More...
 
override String ToString ()
 Creates a string representation of this test run. More...
 

Properties

Listable< TimerRunRuns [get]
 The different runs added to this result. More...
 
TimeSpan AverageRunTime [get]
 The average elapsed time of the different test runs of this result. More...
 
TimeSpan MaxRunTime [get]
 The maximum elapsed time of the different test runs of this result. More...
 
TimeSpan MinRunTime [get]
 The minimum elapsed time of the different test runs of this result. More...
 
TimeSpan TotalRuntimeOfAllRuns [get]
 The total runtime of all the tests. More...
 
int TotalNumberOfRuns [get]
 The total number of tests run. More...
 

Detailed Description

A class representing the results of multiple repeated runs of a performance test.

Since
0.3.0

Constructor & Destructor Documentation

◆ RepeatedTimerRun()

Joutsen.Diagnostics.RepeatedTimerRun.RepeatedTimerRun ( )

Member Function Documentation

◆ AddRun()

void Joutsen.Diagnostics.RepeatedTimerRun.AddRun ( TimerRun  run)

Adds a test run.

Parameters
runthe new test run

◆ ToString()

override String Joutsen.Diagnostics.RepeatedTimerRun.ToString ( )

Creates a string representation of this test run.

Returns
a string representation of this test run

Property Documentation

◆ AverageRunTime

TimeSpan Joutsen.Diagnostics.RepeatedTimerRun.AverageRunTime
get

The average elapsed time of the different test runs of this result.

◆ MaxRunTime

TimeSpan Joutsen.Diagnostics.RepeatedTimerRun.MaxRunTime
get

The maximum elapsed time of the different test runs of this result.

◆ MinRunTime

TimeSpan Joutsen.Diagnostics.RepeatedTimerRun.MinRunTime
get

The minimum elapsed time of the different test runs of this result.

◆ Runs

Listable<TimerRun> Joutsen.Diagnostics.RepeatedTimerRun.Runs
get

The different runs added to this result.

◆ TotalNumberOfRuns

int Joutsen.Diagnostics.RepeatedTimerRun.TotalNumberOfRuns
get

The total number of tests run.

◆ TotalRuntimeOfAllRuns

TimeSpan Joutsen.Diagnostics.RepeatedTimerRun.TotalRuntimeOfAllRuns
get

The total runtime of all the tests.