Home
last modified time | relevance | path

Searched refs:TaskStatistics (Results 1 – 4 of 4) sorted by relevance

/system/extras/iotop/
Dtaskstats.h26 class TaskStatistics {
28 explicit TaskStatistics(const taskstats&);
29 TaskStatistics() = default;
30 TaskStatistics(const TaskStatistics&) = default;
31 void AddPidToTgid(const TaskStatistics&);
32 TaskStatistics Update(const TaskStatistics&);
92 bool GetPidStats(int, TaskStatistics&);
93 bool GetTgidStats(int, TaskStatistics&);
95 bool GetStats(int, int, TaskStatistics& stats);
Diotop.cpp36 static float TimeToTgidPercent(uint64_t ns, int time, const TaskStatistics& stats) { in TimeToTgidPercent()
55 using Sorter = std::function<void(std::vector<TaskStatistics>&)>;
82 {"pid", make_sorter(&TaskStatistics::pid, false)}, in GetSorter()
83 {"read", make_sorter(&TaskStatistics::read, true)}, in GetSorter()
84 {"write", make_sorter(&TaskStatistics::write, true)}, in GetSorter()
85 {"total", make_sorter(&TaskStatistics::read_write, true)}, in GetSorter()
86 {"io", make_sorter(&TaskStatistics::delay_io, true)}, in GetSorter()
87 {"swap", make_sorter(&TaskStatistics::delay_swap, true)}, in GetSorter()
88 {"faults", make_sorter(&TaskStatistics::faults, true)}, in GetSorter()
89 {"sched", make_sorter(&TaskStatistics::delay_sched, true)}, in GetSorter()
[all …]
Dtaskstats.cpp126 bool TaskstatsSocket::GetStats(int pid, int type, TaskStatistics& stats) { in GetStats()
153 stats = TaskStatistics(taskstats_request.stats); in GetStats()
158 bool TaskstatsSocket::GetPidStats(int pid, TaskStatistics& stats) { in GetPidStats()
162 bool TaskstatsSocket::GetTgidStats(int tgid, TaskStatistics& stats) { in GetTgidStats()
170 TaskStatistics::TaskStatistics(const taskstats& taskstats_stats) { in TaskStatistics() function in TaskStatistics
207 void TaskStatistics::AddPidToTgid(const TaskStatistics& pid_statistics) { in AddPidToTgid()
225 TaskStatistics TaskStatistics::Update(const TaskStatistics& new_statistics) { in Update()
226 TaskStatistics delta = new_statistics; in Update()
/system/extras/taskstats/
Dtaskstats.c39 struct TaskStatistics { struct
52 struct TaskStatistics* stats) { in parse_aggregate_task_stats() argument
71 struct TaskStatistics* stats = (struct TaskStatistics*)arg; in parse_task_stats()
92 struct TaskStatistics* stats) { in query_task_stats()
133 void print_task_stats(const struct TaskStatistics* stats, in print_task_stats()
326 struct TaskStatistics stats; in main()