/* * GNU AFFERO GENERAL PUBLIC LICENSE * Version 3, 19 November 2007 * Copyright (C) 2007 Free Software Foundation, Inc. * Everyone is permitted to copy and distribute verbatim copies * of this license document, but changing it is not allowed. */ using UVtools.WPF.Windows; namespace UVtools.WPF.Structures; public sealed class BenchmarkTest { public const string DEVCPU = "Intel® Core™ i9-9900K @ 3.60 GHz"; public const string DEVRAM = "G.SKILL Trident Z 32GB DDR4-3200MHz CL14"; public BenchmarkTest(string name, string functionName, BenchmarkWindow.BenchmarkResolution resolution, float devSingleThreadResult = 0, float devMultiThreadResult = 0) { Name = name; FunctionName = functionName; Resolution = resolution; DevSingleThreadResult = devSingleThreadResult; DevMultiThreadResult = devMultiThreadResult; } public string Name { get; } public string FunctionName { get; } public BenchmarkWindow.BenchmarkResolution Resolution { get; } public float DevSingleThreadResult { get; } public float DevMultiThreadResult { get; } public override string ToString() { return $"{Name}"; } }