-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathStatistics.cs
More file actions
27 lines (24 loc) · 900 Bytes
/
Statistics.cs
File metadata and controls
27 lines (24 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Collections.Generic;
using System.Text;
namespace Waher.Utility.ExStat
{
public class Statistics
{
public Histogram<string> PerType = new Histogram<string>();
public Histogram<string> PerMessage = new Histogram<string>();
public Histogram<string> PerSource = new Histogram<string>();
public Histogram<DateTime> PerHour = new Histogram<DateTime>();
public Histogram<DateTime> PerDay = new Histogram<DateTime>();
public Histogram<DateTime> PerMonth = new Histogram<DateTime>();
public void RemoveUntouched()
{
this.PerType.RemoveUntouched();
this.PerMessage.RemoveUntouched();
this.PerSource.RemoveUntouched();
this.PerHour.RemoveUntouched();
this.PerDay.RemoveUntouched();
this.PerMonth.RemoveUntouched();
}
}
}