template <>
class Server
Defined at line 2089 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_messaging.h
Public Methods
void GetMemoryStats (GetMemoryStatsCompleter::Sync & completer)
void GetMemoryStatsExtended (GetMemoryStatsExtendedCompleter::Sync & completer)
void GetMemoryStatsCompression (GetMemoryStatsCompressionCompleter::Sync & completer)
void GetCpuStats (GetCpuStatsCompleter::Sync & completer)
void GetCpuLoad (GetCpuLoadRequest & request, GetCpuLoadCompleter::Sync & completer)
Gets the average load as a percentage (0.0 - 100.0) from each CPU over the specified
duration.
Load is calculated as (100 - %idle), where %idle is the percentage value of idle_time (from
PerCpuStats) over a time duration.
void Server ()
Defined at line 2092 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 2093 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_messaging.h