Method | Description | |
---|---|---|
Clear ( ) : void |
Clears this instance.
|
|
Include ( System.TimeSpan pingTime ) : void |
Includes the specified ping time in the calculation. If there are more times in the bucket than the maxCount, then the oldest one is replaced.
|
|
PingTimeAggregator ( int maxCount ) : System |
Initializes a new instance of the PingTimeAggregator class.
|
public Include ( System.TimeSpan pingTime ) : void | ||
pingTime | System.TimeSpan | The ping time. |
return | void |
public PingTimeAggregator ( int maxCount ) : System | ||
maxCount | int | The max count. |
return | System |