Files
UVtools/UVtools.GUI/Controls/BenchmarkTest.cs
T
Tiago Conceição 4e4f3caffa v0.6.7.1
* (Add) Menu - Help - Benchmark: Run benchmark test to measure system performance
* (Fix) Properties listview trigger an error when there are no groups to show
* (Fix) Elfin: "(Number of Slices = x)" to ";Number of Slices = x" (#24)
2020-08-27 03:15:20 +01:00

28 lines
854 B
C#

namespace UVtools.GUI.Controls
{
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, float devSingleThreadResult = 0, float devMultiThreadResult = 0)
{
Name = name;
FunctionName = functionName;
DevSingleThreadResult = devSingleThreadResult;
DevMultiThreadResult = devMultiThreadResult;
}
public string Name { get; }
public string FunctionName { get; }
public float DevSingleThreadResult { get; }
public float DevMultiThreadResult { get; }
public override string ToString()
{
return $"{Name}";
}
}
}