class CpuStats

Defined at line 1509 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_types.h

Public Methods

void CpuStats (Storage_ storage)
void CpuStats (uint64_t actual_num_cpus, ::std::optional< ::std::vector< ::fuchsia_kernel::PerCpuStats>> per_cpu_stats)
void CpuStats ()

Default constructs a |CpuStats| only if all of its members are default constructible.

Defined at line 1520 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_types.h

void CpuStats (CpuStats && )

Defined at line 1523 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_types.h

void CpuStats (const CpuStats & other)
CpuStats & operator= (CpuStats && )

Defined at line 1524 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/natural_types.h

CpuStats & operator= (const CpuStats & other)
bool operator== (const CpuStats & other)
bool operator!= (const CpuStats & other)
uint64_t actual_num_cpus ()

This is the total number of CPUs on the actual device. This may not be the same as the length

of the vector `per_cpu_stats` as it is possible the underlying syscall will not return stats

for all CPUs.

uint64_t & actual_num_cpus ()

This is the total number of CPUs on the actual device. This may not be the same as the length

of the vector `per_cpu_stats` as it is possible the underlying syscall will not return stats

for all CPUs.

CpuStats & actual_num_cpus (uint64_t value)

This is the total number of CPUs on the actual device. This may not be the same as the length

of the vector `per_cpu_stats` as it is possible the underlying syscall will not return stats

for all CPUs.

const ::std::optional< ::std::vector< ::fuchsia_kernel::PerCpuStats>> & per_cpu_stats ()
::std::optional< ::std::vector< ::fuchsia_kernel::PerCpuStats>> & per_cpu_stats ()
CpuStats & per_cpu_stats (::std::optional< ::std::vector< ::fuchsia_kernel::PerCpuStats>> value)

Setter for per_cpu_stats.

void CpuStats (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits