Namespaces
Enumerations
enum class Level : uint32_t
| Name | Value | Comments |
|---|---|---|
| kNormal | 1u |
The memory pressure level is healthy.
Registered clients are free to hold on to caches and allocate memory
However, clients should take care to not proactively re-create caches on a |
| kWarning | 2u |
The memory pressure level is somewhat constrained, and might cross over to
Registered clients are expected to optimize their operation to limit memory
Clients must take care to regulate the amount of work they undertake in |
| kCritical | 3u |
The memory pressure level is very constrained.
Registered clients are expected to drop all non-essential memory, and refrain
Clients may undertake expensive work to reclaim memory if required, since |
Indicates the memory pressure level.
Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.memorypressure/fuchsia.memorypressure/cpp/fidl/fuchsia.memorypressure/cpp/common_types.h