Exemple #1
0
        internal CpuInfo(CpuVendor vendor, string name, int clockSpeed, int threadCount)
        {
            Vendor = vendor;
            Name   = HardwareDetector.GetCleanCpuName(vendor, name);

            ThreadCount = threadCount;
            ClockSpeed  = clockSpeed;
        }
Exemple #2
0
 internal GpuInfo(GpuVendor vendor, string name)
 {
     Vendor = vendor;
     Name   = HardwareDetector.GetCleanGpuName(vendor, name).Trim();
 }
Exemple #3
0
 internal CpuInfo(string name, int clockSpeed, int threadCount)
     : this(HardwareDetector.GetCpuVendor(name), name, clockSpeed, threadCount)
 {
 }
Exemple #4
0
 internal GpuInfo(string vendor, string name)
     : this(HardwareDetector.GetGpuVendor(vendor), name)
 {
 }