Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.GUI/Controls/BenchmarkTest.cs')
-rw-r--r--UVtools.GUI/Controls/BenchmarkTest.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/UVtools.GUI/Controls/BenchmarkTest.cs b/UVtools.GUI/Controls/BenchmarkTest.cs
new file mode 100644
index 0000000..6e5c431
--- /dev/null
+++ b/UVtools.GUI/Controls/BenchmarkTest.cs
@@ -0,0 +1,27 @@
+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}";
+ }
+ }
+}