diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/MetricsCollector.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/MetricsCollector.cs b/OpenSim/Framework/MetricsCollector.cs index c8f4a33..391f57e 100644 --- a/OpenSim/Framework/MetricsCollector.cs +++ b/OpenSim/Framework/MetricsCollector.cs | |||
@@ -42,23 +42,23 @@ namespace OpenSim.Framework | |||
42 | } | 42 | } |
43 | } | 43 | } |
44 | 44 | ||
45 | 45 | ||
46 | struct MetricsBucket<T> | 46 | struct MetricsBucket<T> |
47 | { | 47 | { |
48 | public T value; | 48 | public T value; |
49 | public int count; | 49 | public int count; |
50 | } | 50 | } |
51 | 51 | ||
52 | 52 | ||
53 | /// <summary> | 53 | /// <summary> |
54 | /// Collects metrics in a sliding window. | 54 | /// Collects metrics in a sliding window. |
55 | /// </summary> | 55 | /// </summary> |
56 | /// <remarks> | 56 | /// <remarks> |
57 | /// MetricsCollector provides the current Sum of the metrics that it collects. It can easily be extended | 57 | /// MetricsCollector provides the current Sum of the metrics that it collects. It can easily be extended |
58 | /// to provide the Average, too. It uses a sliding window to keep these values current. | 58 | /// to provide the Average, too. It uses a sliding window to keep these values current. |
59 | /// | 59 | /// |
60 | /// This class is not thread-safe. | 60 | /// This class is not thread-safe. |
61 | /// | 61 | /// |
62 | /// Subclass MetricsCollector to have it use a concrete value type. Override the abstract methods. | 62 | /// Subclass MetricsCollector to have it use a concrete value type. Override the abstract methods. |
63 | /// </remarks> | 63 | /// </remarks> |
64 | public abstract class MetricsCollector<T> | 64 | public abstract class MetricsCollector<T> |