Show / Hide Table of Contents

Class BenchmarkEnvironmentInfo

Inheritance
Object
BenchmarkEnvironmentInfo
HostEnvironmentInfo
Namespace: BenchmarkDotNet.Environments
Assembly: BenchmarkDotNet.dll
Syntax
public class BenchmarkEnvironmentInfo

Constructors

BenchmarkEnvironmentInfo()

Declaration
protected BenchmarkEnvironmentInfo()

Properties

Architecture

Declaration
public string Architecture { get; protected set; }
Property Value
Type Description
String

Configuration

Declaration
public string Configuration { get; protected set; }
Property Value
Type Description
String

GCAllocationQuantum

Declaration
public long GCAllocationQuantum { get; protected set; }
Property Value
Type Description
Int64

HasAttachedDebugger

Declaration
public bool HasAttachedDebugger { get; protected set; }
Property Value
Type Description
Boolean

HasRyuJit

Declaration
public bool HasRyuJit { get; protected set; }
Property Value
Type Description
Boolean

InDocker

Declaration
public bool InDocker { get; protected set; }
Property Value
Type Description
Boolean

IsConcurrentGC

Declaration
public bool IsConcurrentGC { get; protected set; }
Property Value
Type Description
Boolean

IsServerGC

Declaration
public bool IsServerGC { get; protected set; }
Property Value
Type Description
Boolean

JitInfo

Declaration
public string JitInfo { get; protected set; }
Property Value
Type Description
String

RuntimeVersion

Declaration
public string RuntimeVersion { get; protected set; }
Property Value
Type Description
String

Methods

GetConfigurationFlag()

Declaration
protected string GetConfigurationFlag()
Returns
Type Description
String

GetCurrent()

Declaration
public static BenchmarkEnvironmentInfo GetCurrent()
Returns
Type Description
BenchmarkEnvironmentInfo

GetDebuggerFlag()

Declaration
protected string GetDebuggerFlag()
Returns
Type Description
String

GetGcConcurrentFlag()

Declaration
protected string GetGcConcurrentFlag()
Returns
Type Description
String

GetGcServerFlag()

Declaration
protected string GetGcServerFlag()
Returns
Type Description
String

ToFormattedString()

Declaration
public virtual IEnumerable<string> ToFormattedString()
Returns
Type Description
IEnumerable<String>

Validate(Job)

Declaration
public static IEnumerable<ValidationError> Validate(Job job)
Parameters
Type Name Description
Job job
Returns
Type Description
IEnumerable<ValidationError>
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors