public BenchmarkDetails(GpuLogger.GpuInfo gpuInfo, int rowsInLogViews = 5) { GpuInfo = gpuInfo; _rowsInLogViews = rowsInLogViews; InitializeComponent(); InitHashesAndSensors(); }
public BenchmarkOverview(GpuLogger.Benchmark benchmark, GpuLogger.GpuInfo gpuInfo) { InitializeComponent(); // Over 9000 means max value BenchmarkDetails benchmarkDetails = new BenchmarkDetails(gpuInfo, 9001) { Dock = DockStyle.Fill }; benchmarkDetails.UpdateStats(benchmark); tabDetails.Controls.Add(benchmarkDetails); HashChart hashChart = new HashChart(9001) { Dock = DockStyle.Fill }; hashChart.UpdateCharts(benchmark.HashLogs, benchmark.AvailableTimeStamps); tabHashCharts.Controls.Add(hashChart); SensorChart sensorChart = new SensorChart(9001) { Dock = DockStyle.Fill }; sensorChart.UpdateCharts(benchmark.SensorLog, benchmark.AvailableTimeStamps, benchmark.MinerSetup.OperatingSystem); tabSensorCharts.Controls.Add(sensorChart); }