template <>

class WireSyncClientImpl

Defined at line 468 of file fidling/gen/sdk/fidl/fuchsia.hardware.ram.metrics/fuchsia.hardware.ram.metrics/cpp/fidl/fuchsia.hardware.ram.metrics/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_hardware_ram_metrics::Device>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_ram_metrics::Device::MeasureBandwidth> MeasureBandwidth (const ::fuchsia_hardware_ram_metrics::wire::BandwidthMeasurementConfig & config)

Trigger one measurement. This can be called again before the reply

arrives but it won't be serviced until previous requests are completed.

The return on success is the measurement.

The return on failure are as follows:

ZX_ERR_INVALID_ARGS : The BandwidthMeasurementConfig values are incorrect.

ZX_ERR_NOT_SUPPORTED : The BandwidthMeasurementConfig values are not supported

by the hardware.

ZX_ERR_SHOULD_WAIT : Too many requests pending. A future request might succeed.

Other errors indicate internal failure.

Allocates 360 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_ram_metrics::Device::GetDdrWindowingResults> GetDdrWindowingResults ()

Retrieve the DDR Windowing tool results

The windowing tool runs in the bootloader and stores results in a sticky register.

The return on success is the register value

The return on failure is ZX_ERR_NOT_SUPPORTED if the hardware does not support

reading the sticky register.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.