class SuspendStats

Defined at line 75 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

A collection of statistics related to suspend/resume of the device.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_power_suspend::wire::SuspendStats> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_power_suspend::wire::SuspendStats> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_suspend::wire::SuspendStats>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void SuspendStats ()

Defined at line 77 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

void SuspendStats (const SuspendStats & other)

Defined at line 78 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

SuspendStats & operator= (const SuspendStats & other)

Defined at line 79 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

void SuspendStats (SuspendStats && other)

Defined at line 80 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

SuspendStats & operator= (SuspendStats && other)

Defined at line 81 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

uint64_t & success_count ()

The number of times the device has successfully suspended.

bool has_success_count ()
uint64_t & fail_count ()

The number of times the device has failed to suspend.

bool has_fail_count ()
int32_t & last_failed_error ()

The error code logged after the last failed suspend attempt.

bool has_last_failed_error ()
int64_t & last_time_in_suspend ()

The amount of time spent in the previous suspend state.

May not be available on all platforms.

bool has_last_time_in_suspend ()
int64_t & last_time_in_suspend_operations ()

The amount of time spent performing suspend and resume operations for

the previous suspend state.

Suspend and resume operations are those actions taken by the platform in

order to enter and exit, respectively, a suspended state.

bool has_last_time_in_suspend_operations ()
int64_t & total_time_in_suspend ()

The total amount of time spent in a suspended state.

bool has_total_time_in_suspend ()
void ~SuspendStats ()

Defined at line 83 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder