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

BenchmarkTest.cs « Controls « UVtools.GUI - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e5c431c0b0dca1e27710cf9a8bb38896f7bb407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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}";
        }
    }
}