Class BenchmarkEnvironmentInfo
- Namespace
- BenchmarkDotNet.Environments
- Assembly
- BenchmarkDotNet.dll
public class BenchmarkEnvironmentInfo
- Inheritance
-
BenchmarkEnvironmentInfo
- Derived
-
Constructors
BenchmarkEnvironmentInfo()
protected BenchmarkEnvironmentInfo()
Properties
Architecture
public string Architecture { get; protected set; }
Property Value
- string
Configuration
public string Configuration { get; protected set; }
Property Value
- string
GCAllocationQuantum
public long GCAllocationQuantum { get; protected set; }
Property Value
- long
HardwareIntrinsicsShort
public string HardwareIntrinsicsShort { get; protected set; }
Property Value
- string
HasAttachedDebugger
public bool HasAttachedDebugger { get; protected set; }
Property Value
- bool
HasRyuJit
public bool HasRyuJit { get; protected set; }
Property Value
- bool
InDocker
public bool InDocker { get; protected set; }
Property Value
- bool
IsConcurrentGC
public bool IsConcurrentGC { get; protected set; }
Property Value
- bool
IsServerGC
public bool IsServerGC { get; protected set; }
Property Value
- bool
JitInfo
public string JitInfo { get; protected set; }
Property Value
- string
RuntimeVersion
public string RuntimeVersion { get; protected set; }
Property Value
- string
Methods
GetConfigurationFlag()
protected string GetConfigurationFlag()
Returns
- string
GetCurrent()
public static BenchmarkEnvironmentInfo GetCurrent()
Returns
- BenchmarkEnvironmentInfo
GetDebuggerFlag()
protected string GetDebuggerFlag()
Returns
- string
GetGcConcurrentFlag()
protected string GetGcConcurrentFlag()
Returns
- string
GetGcServerFlag()
protected string GetGcServerFlag()
Returns
- string
public virtual IEnumerable<string> ToFormattedString()
Returns
- IEnumerable<string>
Validate(Job)
public static IEnumerable<ValidationError> Validate(Job job)
Parameters
job
Job
Returns
- IEnumerable<ValidationError>