class TaskRecords
Defined at line 136 of file ../../src/media/audio/drivers/lib/inspect/recorder.h
Record diagnostic info about this streaming session. This includes:
- the first 5 data-transport tasks: wall, cpu, queue, page, kernel lock times, plus s2s and e2e;
- the last 25 data-transport tasks: same (s2s / e2e are start-to-start / end-to-end durations);
- the min and max and sum values for the above as well (except s2s and e2e for sum values);
- underruns (read too close to the producer): total count/duration, longest single underrun;
- overruns (read too far ahead of the producer): total count/duration, longest single overrun.
Public Methods
void UpdateInt (inspect::IntProperty * property, inspect::Node * node, std::string_view name, int64_t value)
Defined at line 32 of file ../../src/media/audio/drivers/lib/inspect/recorder.cc
void RecordTaskMetrics (const Subtask::Metrics & metrics, std::optional<InterTaskDurations> inter_task_durations, std::optional<zx::duration> scheduling_delay)
Defined at line 43 of file ../../src/media/audio/drivers/lib/inspect/recorder.cc
void TaskRecords (inspect::Node node, size_t max_entry_count)
Defined at line 138 of file ../../src/media/audio/drivers/lib/inspect/recorder.h