C# Class concord.Output.Dto.RunHistoryStats

Afficher le fichier Open project: uShip/Concord Class Usage Examples

Méthodes publiques

Méthode Description
AddDatapoint ( System.TimeSpan runLength, bool isSuccess ) : void
CopyHistoryStatsFrom ( RunHistoryStats history ) : void

Private Methods

Méthode Description
SetAverageTime ( System.TimeSpan runLength, int successDatapoints ) : void

Average, averaged over at max 100 datapoints

SetFailedAverage ( System.TimeSpan runLength ) : void
SetWeightedAverageTime ( System.TimeSpan runLength, int successDatapoints ) : void

Average, averaged over at max 5 datapoints

SetWeightedAverageTime_Squaring_Fail ( System.TimeSpan runLength, int successDatapoints ) : void

This is confusing to debug, so striking it for the simplier method above

Method Details

AddDatapoint() public méthode

public AddDatapoint ( System.TimeSpan runLength, bool isSuccess ) : void
runLength System.TimeSpan
isSuccess bool
Résultat void

CopyHistoryStatsFrom() public méthode

public CopyHistoryStatsFrom ( RunHistoryStats history ) : void
history RunHistoryStats
Résultat void