mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
/*
|
|
* GNU AFFERO GENERAL PUBLIC LICENSE
|
|
* Version 3, 19 November 2007
|
|
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
* of this license document, but changing it is not allowed.
|
|
*/
|
|
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}";
|
|
}
|
|
}
|
|
}
|