class TargetConfig

Defined at line 553 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h

A target may be an adhoc set of tasks, or one defined by a component/test

Public Methods

void TargetConfig (TargetConfig && other)
TargetConfig & operator= (TargetConfig && other)
bool IsUnknown ()
::fuchsia_cpu_profiler::TargetConfig::Tag Which ()
TargetConfig WithTasks (::std::vector< ::fuchsia_cpu_profiler::Task> val)
const ::fidl::internal::UnionMemberView<1, Storage_> tasks ()
::fidl::internal::UnionMemberView<1, Storage_> tasks ()
TargetConfig & tasks (::std::vector< ::fuchsia_cpu_profiler::Task> value)

An adhoc set of threads/processes/jobs

TargetConfig WithComponent (::fuchsia_cpu_profiler::AttachConfig val)
const ::fidl::internal::UnionMemberView<2, Storage_> component ()
::fidl::internal::UnionMemberView<2, Storage_> component ()
TargetConfig & component (::fuchsia_cpu_profiler::AttachConfig value)

Profile a component and all tasks it launches

void TargetConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kTasks 1
kComponent 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 561 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits