mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-18 22:46:30 +02:00
* (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)
28 lines
854 B
C#
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}";
|
|
}
|
|
}
|
|
}
|