Struct aws_sdk_greengrassv2::model::SystemResourceLimits [−][src]
Expand description
Contains information about system resource limits that the IoT Greengrass Core software applies to a component's processes. For more information, see Configure system resource limits for components.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.memory: i64
The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.
cpus: f64
The maximum amount of CPU time that a component's processes can use on the core device. A
core device's total CPU time is equivalent to the device's number of CPU cores. For example,
on a core device with 4 CPU cores, you can set this value to 2
to limit the
component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you
can set this value to 0.25
to limit the component's processes to 25 percent usage
of the CPU. If you set this value to a number greater than the number of CPU cores, the IoT Greengrass Core
software doesn't limit the component's CPU usage.
Implementations
Creates a new builder-style object to manufacture SystemResourceLimits
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SystemResourceLimits
impl Send for SystemResourceLimits
impl Sync for SystemResourceLimits
impl Unpin for SystemResourceLimits
impl UnwindSafe for SystemResourceLimits
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more