Table of Contents

Class CpuDetector

Namespace
BenchmarkDotNet.Detectors
Assembly
BenchmarkDotNet.dll
public class CpuDetector : ICpuDetector
Inheritance
CpuDetector
Implements

Constructors

CpuDetector(params ICpuDetector[])

public CpuDetector(params ICpuDetector[] detectors)

Parameters

detectors ICpuDetector[]

Properties

Cpu

public static CpuInfo? Cpu { get; }

Property Value

CpuInfo

CrossPlatform

public static CpuDetector CrossPlatform { get; }

Property Value

CpuDetector

Methods

Detect()

public CpuInfo? Detect()

Returns

CpuInfo

IsApplicable()

public bool IsApplicable()

Returns

bool