class Task
Defined at line 2231 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
An adhoc set of running tasks to attach to.
Public Methods
void Task (const Task & )
Defined at line 2237 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
void Task (Task && )
Defined at line 2239 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
bool IsUnknown ()
Defined at line 2249 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
void Task ()
template <typename... Args>
Task WithJob (::fidl::AnyArena & allocator, Args &&... args)
Profile a job and all processes and threads associated with it.
Defined at line 2298 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
bool has_invalid_tag ()
bool is_process ()
Task WithProcess (::fidl::ObjectView<uint64_t> val)
Profile a process and all threads associated with it.
template <typename... Args>
Task WithProcess (::fidl::AnyArena & allocator, Args &&... args)
Profile a process and all threads associated with it.
Defined at line 2262 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
uint64_t & process ()
Profile a process and all threads associated with it.
const uint64_t & process ()
Profile a process and all threads associated with it.
bool is_thread ()
Task WithThread (::fidl::ObjectView<uint64_t> val)
Profile a single thread.
Task & operator= (Task && )
Defined at line 2240 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
template <typename... Args>
Task WithThread (::fidl::AnyArena & allocator, Args &&... args)
Profile a single thread.
Defined at line 2280 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
uint64_t & thread ()
Profile a single thread.
const uint64_t & thread ()
Profile a single thread.
bool is_job ()
Task WithJob (::fidl::ObjectView<uint64_t> val)
Profile a job and all processes and threads associated with it.
uint64_t & job ()
Profile a job and all processes and threads associated with it.
const uint64_t & job ()
Profile a job and all processes and threads associated with it.
bool is_system_wide ()
Task WithSystemWide (::fuchsia_cpu_profiler::wire::SystemWide val)
Profile everything running on the system.
Equivalent to finding root job's koid and passing it as a Task::job.
Task & operator= (const Task & )
Defined at line 2238 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h
::fuchsia_cpu_profiler::wire::SystemWide & system_wide ()
Profile everything running on the system.
Equivalent to finding root job's koid and passing it as a Task::job.
const ::fuchsia_cpu_profiler::wire::SystemWide & system_wide ()
Profile everything running on the system.
Equivalent to finding root job's koid and passing it as a Task::job.
::fuchsia_cpu_profiler::wire::Task::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kProcess | 1 |
| kThread | 2 |
| kJob | 3 |
| kSystemWide | 4 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 2242 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_types.h