Namespaces
Enumerations
enum class Level : uint32_t
| Name | Value | Comments |
|---|---|---|
| NORMAL | 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 |
| WARNING | 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 |
| CRITICAL | 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 15 of file fidling/gen/sdk/fidl/fuchsia.memorypressure/fuchsia.memorypressure/hlcpp/fuchsia/memorypressure/cpp/fidl.h
Records
-
class Provider -
class ProviderRegisterWatcherRequest -
class Provider_EventSender -
class Provider_Proxy -
class Provider_RequestDecoder -
class Provider_RequestEncoder -
class Provider_ResponseDecoder -
class Provider_ResponseEncoder -
class Provider_Stub -
class Provider_Sync -
class Provider_SyncProxy -
class Watcher -
class WatcherOnLevelChangedRequest -
class Watcher_EventSender -
class Watcher_Proxy -
class Watcher_RequestDecoder -
class Watcher_RequestEncoder -
class Watcher_ResponseDecoder -
class Watcher_ResponseEncoder -
class Watcher_Stub -
class Watcher_Sync -
class Watcher_SyncProxy
Functions
-
zx_status_t Clone (::fuchsia::memorypressure::Level value, ::fuchsia::memorypressure::Level * result)Defined at line 53 of file fidling/gen/sdk/fidl/fuchsia.memorypressure/fuchsia.memorypressure/hlcpp/fuchsia/memorypressure/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::memorypressure::ProviderRegisterWatcherRequest & _value, ::fuchsia::memorypressure::ProviderRegisterWatcherRequest * _result)Defined at line 92 of file fidling/gen/sdk/fidl/fuchsia.memorypressure/fuchsia.memorypressure/hlcpp/fuchsia/memorypressure/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::memorypressure::WatcherOnLevelChangedRequest & _value, ::fuchsia::memorypressure::WatcherOnLevelChangedRequest * _result)Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.memorypressure/fuchsia.memorypressure/hlcpp/fuchsia/memorypressure/cpp/fidl.h