Class RunnableConstants
- Namespace
- BenchmarkDotNet.Toolchains.InProcess.Emit.Implementation
- Assembly
- BenchmarkDotNet.dll
A helper type that emits code that matches BenchmarkType.txt template. IMPORTANT: this type IS NOT thread safe.
public class RunnableConstants
- Inheritance
-
RunnableConstants
Constructors
RunnableConstants()
public RunnableConstants()
Fields
ArgFieldPrefix
public const string ArgFieldPrefix = "__argField"
Field Value
ArgParamPrefix
public const string ArgParamPrefix = "arg"
Field Value
ConsumerFieldName
public const string ConsumerFieldName = "consumer"
Field Value
Dummy1MethodName
public const string Dummy1MethodName = "Dummy1"
Field Value
Dummy2MethodName
public const string Dummy2MethodName = "Dummy2"
Field Value
Dummy3MethodName
public const string Dummy3MethodName = "Dummy3"
Field Value
DummyParamName
public const string DummyParamName = "_"
Field Value
DummyUnrollFactor
public const int DummyUnrollFactor = 64
Field Value
DummyVarFieldName
public const string DummyVarFieldName = "dummyVar"
Field Value
DynamicAssemblySuffix
public const string DynamicAssemblySuffix = "Emitted"
Field Value
EmittedTypePrefix
public const string EmittedTypePrefix = "BenchmarkDotNet.Autogenerated.Runnable_"
Field Value
ForDisassemblyDiagnoserMethodName
public const string ForDisassemblyDiagnoserMethodName = "__ForDisassemblyDiagnoser__"
Field Value
GlobalCleanupActionFieldName
public const string GlobalCleanupActionFieldName = "globalCleanupAction"
Field Value
GlobalCleanupMethodName
public const string GlobalCleanupMethodName = "GlobalCleanup"
Field Value
GlobalSetupActionFieldName
public const string GlobalSetupActionFieldName = "globalSetupAction"
Field Value
GlobalSetupMethodName
public const string GlobalSetupMethodName = "GlobalSetup"
Field Value
InvokeCountParamName
public const string InvokeCountParamName = "invokeCount"
Field Value
IsByRefLikeAttributeTypeName
public const string IsByRefLikeAttributeTypeName = "System.Runtime.CompilerServices.IsByRefLikeAttribute"
Field Value
IterationCleanupActionFieldName
public const string IterationCleanupActionFieldName = "iterationCleanupAction"
Field Value
IterationCleanupMethodName
public const string IterationCleanupMethodName = "IterationCleanup"
Field Value
IterationSetupActionFieldName
public const string IterationSetupActionFieldName = "iterationSetupAction"
Field Value
IterationSetupMethodName
public const string IterationSetupMethodName = "IterationSetup"
Field Value
NonGenericKeepAliveWithoutBoxingMethodName
public const string NonGenericKeepAliveWithoutBoxingMethodName = "NonGenericKeepAliveWithoutBoxing"
Field Value
NotElevenFieldName
public const string NotElevenFieldName = "NotEleven"
Field Value
OpImplicitMethodName
public const string OpImplicitMethodName = "op_Implicit"
Field Value
OverheadActionNoUnrollMethodName
public const string OverheadActionNoUnrollMethodName = "OverheadActionNoUnroll"
Field Value
OverheadActionUnrollMethodName
public const string OverheadActionUnrollMethodName = "OverheadActionUnroll"
Field Value
OverheadDelegateFieldName
public const string OverheadDelegateFieldName = "overheadDelegate"
Field Value
OverheadDelegateTypeSuffix
public const string OverheadDelegateTypeSuffix = "OverheadDelegate"
Field Value
OverheadImplementationMethodName
public const string OverheadImplementationMethodName = "__Overhead"
Field Value
RunMethodName
public const string RunMethodName = "Run"
Field Value
TrickTheJitCoreMethodName
public const string TrickTheJitCoreMethodName = "__TrickTheJIT__"
Field Value
WorkloadActionNoUnrollMethodName
public const string WorkloadActionNoUnrollMethodName = "WorkloadActionNoUnroll"
Field Value
WorkloadActionUnrollMethodName
public const string WorkloadActionUnrollMethodName = "WorkloadActionUnroll"
Field Value
WorkloadDefaultValueHolderFieldName
public const string WorkloadDefaultValueHolderFieldName = "workloadDefaultValueHolder"
Field Value
WorkloadDelegateFieldName
public const string WorkloadDelegateFieldName = "workloadDelegate"
Field Value
WorkloadDelegateTypeSuffix
public const string WorkloadDelegateTypeSuffix = "WorkloadDelegate"
Field Value
WorkloadImplementationMethodName
public const string WorkloadImplementationMethodName = "__Workload"