OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Framework.MetricsCollectorTime Class Reference

A MetricsCollector for time spans. More...

Inheritance diagram for OpenSim.Framework.MetricsCollectorTime:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.MetricsCollectorTime:
Collaboration graph
[legend]

Public Member Functions

 MetricsCollectorTime (int windowSize, int numBuckets)
 
void AddSample (Stopwatch timer)
 
TimeSpan GetSumTime ()
 
- Public Member Functions inherited from OpenSim.Framework.MetricsCollectorLong
 MetricsCollectorLong (int windowSize, int numBuckets)
 
- Public Member Functions inherited from OpenSim.Framework.MetricsCollector< T >
 MetricsCollector (int windowSize, int numBuckets)
 Creates a MetricsCollector. More...
 
void Reset ()
 
void AddSample (T sample)
 
GetSum ()
 Returns the total values in the collection window. More...
 

Additional Inherited Members

- Protected Member Functions inherited from OpenSim.Framework.MetricsCollectorLong
override long GetZero ()
 Returns the default (zero) value. More...
 
override long Add (long a, long b)
 
- Protected Member Functions inherited from OpenSim.Framework.MetricsCollector< T >
abstract T Add (T a, T b)
 Adds two values. More...
 

Detailed Description

A MetricsCollector for time spans.

Definition at line 25 of file MetricsCollector.cs.

Constructor & Destructor Documentation

OpenSim.Framework.MetricsCollectorTime.MetricsCollectorTime ( int  windowSize,
int  numBuckets 
)
inline

Definition at line 27 of file MetricsCollector.cs.

Member Function Documentation

void OpenSim.Framework.MetricsCollectorTime.AddSample ( Stopwatch  timer)
inline

Definition at line 32 of file MetricsCollector.cs.

TimeSpan OpenSim.Framework.MetricsCollectorTime.GetSumTime ( )
inline

Definition at line 39 of file MetricsCollector.cs.


The documentation for this class was generated from the following file: