Lines Matching refs:res
84 Vma res; in diff_vma_params() local
85 res.usage.shared_clean = cur.usage.shared_clean > last.usage.shared_clean in diff_vma_params()
88 res.usage.shared_dirty = cur.usage.shared_dirty > last.usage.shared_dirty in diff_vma_params()
91 res.usage.private_clean = cur.usage.private_clean > last.usage.private_clean in diff_vma_params()
94 res.usage.private_dirty = cur.usage.private_dirty > last.usage.private_dirty in diff_vma_params()
98 res.usage.rss = cur.usage.rss > last.usage.rss ? cur.usage.rss - last.usage.rss : 0; in diff_vma_params()
99 res.usage.pss = cur.usage.pss > last.usage.pss ? cur.usage.pss - last.usage.pss : 0; in diff_vma_params()
100 res.usage.uss = cur.usage.uss > last.usage.uss ? cur.usage.uss - last.usage.uss : 0; in diff_vma_params()
101 res.usage.swap = cur.usage.swap > last.usage.swap ? cur.usage.swap - last.usage.swap : 0; in diff_vma_params()
102 res.usage.swap_pss = in diff_vma_params()
106 res.start = cur.start; in diff_vma_params()
107 res.end = cur.end; in diff_vma_params()
108 res.offset = cur.offset; in diff_vma_params()
109 res.flags = cur.flags; in diff_vma_params()
110 res.name = cur.name; in diff_vma_params()
111 return res; in diff_vma_params()
114 static void diff_workingset(std::vector<Vma>& wss, std::vector<Vma>& old, std::vector<Vma>* res) { in diff_workingset() argument
115 res->clear(); in diff_workingset()
120 *res = wss; in diff_workingset()
130 res->emplace_back(diff_vma_params(i, j)); in diff_workingset()
137 res->emplace_back(i); in diff_workingset()
141 std::sort(res->begin(), res->end(), vma_sorter); in diff_workingset()