This commit is contained in:
2020-05-25 17:01:44 +00:00
parent e7b705174a
commit bb727e0ea8

View File

@@ -19,6 +19,9 @@ namespace AyaNova.Models
public int Gen2 { get; set; } public int Gen2 { get; set; }
public double CPU { get; set; } public double CPU { get; set; }
//ef core requires this for some reason
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, int gen0, int gen1, int gen2, double cpu)
{ {
t = System.DateTime.UtcNow; t = System.DateTime.UtcNow;