aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/MetricsCollector.cs
diff options
context:
space:
mode:
authoronefang2019-05-19 21:24:15 +1000
committeronefang2019-05-19 21:24:15 +1000
commit5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch)
treea9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Framework/MetricsCollector.cs
parentAdd a build script. (diff)
downloadopensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip
opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz
opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2
opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Framework/MetricsCollector.cs')
-rw-r--r--OpenSim/Framework/MetricsCollector.cs8
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>