Class SysInfo
Class that contains some basic information about the runtime environment
Inheritance
System.Object
SysInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NBench.Sys
Assembly: NBench.dll
Syntax
public class SysInfo
Fields
Instance
Singleton instance of SysInfo
Declaration
public static readonly SysInfo Instance
Field Value
Type | Description |
---|---|
SysInfo |
Properties
ClrVersion
Current version of the CLR
Declaration
public string ClrVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
IOThreads
Number of I/O completion port threads in System.Threading.ThreadPool
Declaration
public int IOThreads { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsMono
Declaration
public bool IsMono { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MaxGcGeneration
Maximum number of GC generations
Declaration
public int MaxGcGeneration { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
If this system allows Gen 0, Gen 1, an Gen 2 GC then this value will be 2. If this system allows Gen 0, Gen 1, Gen 2, and Gen 3 then this value will be 3.
NBenchAssemblyVersion
Declaration
public string NBenchAssemblyVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
OS
Current version of the OS
Declaration
public string OS { get; }
Property Value
Type | Description |
---|---|
System.String |
ProcessorCount
Number of logical processors
Declaration
public int ProcessorCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
WorkerThreads
Number of worker threads in System.Threading.ThreadPool
Declaration
public int WorkerThreads { get; }
Property Value
Type | Description |
---|---|
System.Int32 |