struct TaskRuntimeStats

Defined at line 41 of file ../../zircon/kernel/include/kernel/task_runtime_stats.h

Runtime stats of a thread, process, or job.

Not safe for concurrent use by multiple threads.

Public Members

zx_duration_mono_ticks_t cpu_ticks
zx_duration_mono_ticks_t queue_ticks
zx_duration_mono_ticks_t page_fault_ticks
zx_duration_mono_ticks_t lock_contention_ticks

Public Methods

zx_info_task_runtime_t operator zx_info_task_runtime ()

Conversion to zx_info_task_runtime_t.

Defined at line 14 of file ../../zircon/kernel/kernel/task_runtime_stats.cc

TaskRuntimeStats & operator+= (const TaskRuntimeStats & other)

Adds another TaskRuntimeStats to this one.

Defined at line 55 of file ../../zircon/kernel/include/kernel/task_runtime_stats.h