ResourceUtilization Struct
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.
Captures resource usage at a given point in time.
public value class ResourceUtilization
public readonly struct ResourceUtilization
type ResourceUtilization = struct
Public Structure ResourceUtilization
- Inheritance
Constructors
ResourceUtilization(Double, UInt64, SystemResources) |
Initializes a new instance of the ResourceUtilization struct. |
Properties
CpuUsedPercentage |
Gets the CPU utilization percentage. |
MemoryUsedInBytes |
Gets the total memory used. |
MemoryUsedPercentage |
Gets the memory utilization percentage. |
Snapshot |
Gets the latest snapshot of the resource utilization of the system. |
SystemResources |
Gets the CPU and memory limits defined by the underlying system. |
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.