SystemResources(Double, Double, UInt64, UInt64) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SystemResources struct.
public:
SystemResources(double guaranteedCpuUnits, double maximumCpuUnits, System::UInt64 guaranteedMemoryInBytes, System::UInt64 maximumMemoryInBytes);
public SystemResources (double guaranteedCpuUnits, double maximumCpuUnits, ulong guaranteedMemoryInBytes, ulong maximumMemoryInBytes);
new Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources : double * double * uint64 * uint64 -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources
Public Sub New (guaranteedCpuUnits As Double, maximumCpuUnits As Double, guaranteedMemoryInBytes As ULong, maximumMemoryInBytes As ULong)
Parameters
- guaranteedCpuUnits
- Double
The CPU units available in the system.
- maximumCpuUnits
- Double
The maximum CPU units available in the system.
- guaranteedMemoryInBytes
- UInt64
The memory allocated to the system in bytes.
- maximumMemoryInBytes
- UInt64
The maximum memory allocated to the system in bytes.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.