template <>

class WireSyncClientImpl

Defined at line 5526 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_kernel::Stats>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_kernel::Stats::GetMemoryStats> GetMemoryStats ()

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_kernel::Stats::GetMemoryStatsExtended> GetMemoryStatsExtended ()

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_kernel::Stats::GetMemoryStatsCompression> GetMemoryStatsCompression ()

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_kernel::Stats::GetCpuStats> GetCpuStats ()

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_kernel::Stats::GetCpuLoad> GetCpuLoad (int64_t duration)

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.

Allocates 24 bytes of request buffer on the stack. Response is heap-allocated.