class Counter
Defined at line 64 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h
Public Methods
void Counter (Counter && other)
Counter & operator= (Counter && other)
void Counter (const Counter & other)
Counter & operator= (const Counter & other)
bool operator== (const Counter & other)
bool operator!= (const Counter & other)
bool IsUnknown ()
::fuchsia_cpu_profiler::Counter::Tag Which ()
Counter WithPlatformIndependent (::fuchsia_cpu_profiler::CounterId val)
const ::fidl::internal::UnionMemberView<1, Storage_> platform_independent ()
::fidl::internal::UnionMemberView<1, Storage_> platform_independent ()
Counter & platform_independent (::fuchsia_cpu_profiler::CounterId value)
Curated set of platform independent ids that get converted into the
appropriate hardware specific counter id.
Counter WithPlatformDependent (uint32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> platform_dependent ()
::fidl::internal::UnionMemberView<2, Storage_> platform_dependent ()
Counter & platform_dependent (uint32_t value)
In the case a counter is not widely supported across
platform or not included in the curated set, one can
specify a platform dependent id that will not get
converted.
void Counter (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kPlatformIndependent | 1 |
| kPlatformDependent | 2 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 72 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits