This commit is contained in:
2020-06-04 19:33:22 +00:00
parent e68d1c48d2
commit d670c68b5f
4 changed files with 38 additions and 115 deletions

View File

@@ -14,24 +14,18 @@ namespace AyaNova.Models
public DateTime t { get; set; }
public long Allocated { get; set; }
public long WorkingSet { get; set; }
public long PrivateBytes { get; set; }
public int Gen0 { get; set; }
public int Gen1 { get; set; }
public int Gen2 { get; set; }
public long PrivateBytes { get; set; }
public double CPU { get; set; }
//ef core requires this
public MetricMM() { }
public MetricMM(long allocated, long workingSet, long privateBytes, int gen0, int gen1, int gen2, double cpu)
public MetricMM(long allocated, long workingSet, long privateBytes, double cpu)
{
t = System.DateTime.UtcNow;
Allocated = allocated;
WorkingSet = workingSet;
PrivateBytes = privateBytes;
Gen0 = gen0;
Gen1 = gen1;
Gen2 = gen2;
PrivateBytes = privateBytes;
CPU = cpu;
}
}//eoc