Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 12 of 12) sorted by relevance

/tools/perf/tests/
Dvmlinux-kallsyms.c112 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
124 pair = first_pair; in test__vmlinux_matches_kallsyms()
126 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
128 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
138 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
142 UM(pair->end)); in test__vmlinux_matches_kallsyms()
152 pair = machine__find_kernel_symbol_by_name(&kallsyms, type, sym->name, NULL); in test__vmlinux_matches_kallsyms()
153 if (pair) { in test__vmlinux_matches_kallsyms()
154 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
158 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
[all …]
/tools/perf/
Dbuiltin-diff.c239 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument
242 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
244 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta()
245 pair->diff.computed = true; in compute_delta()
246 return pair->diff.period_ratio_delta; in compute_delta()
249 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument
252 double new_period = pair->stat.period; in compute_ratio()
254 pair->diff.computed = true; in compute_ratio()
255 pair->diff.period_ratio = new_period / old_period; in compute_ratio()
256 return pair->diff.period_ratio; in compute_ratio()
[all …]
/tools/perf/scripts/python/
Dcompaction-times.py54 class pair: class
72 self.migrated = pair(0, 0, "moved", "failed")
73 self.fscan = pair(0,0, "scanned", "isolated")
74 self.mscan = pair(0,0, "scanned", "isolated")
216 pair(nr_migrated, nr_failed), None, None)
223 None, pair(nr_scanned, nr_taken), None)
230 None, None, pair(nr_scanned, nr_taken))
/tools/perf/ui/
Dhist.c44 struct hist_entry *pair; in __hpp__fmt() local
49 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
50 u64 period = get_field(pair); in __hpp__fmt()
51 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
56 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
156 struct hist_entry *pair; in __hpp__sort() local
174 list_for_each_entry(pair, &a->pairs.head, pairs.node) { in __hpp__sort()
175 evsel = hists_to_evsel(pair->hists); in __hpp__sort()
176 fields_a[perf_evsel__group_idx(evsel)] = get_field(pair); in __hpp__sort()
179 list_for_each_entry(pair, &b->pairs.head, pairs.node) { in __hpp__sort()
[all …]
/tools/perf/util/
Dsort.h167 static inline void hist_entry__add_pair(struct hist_entry *pair, in hist_entry__add_pair() argument
170 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
Dhist.c2139 struct hist_entry *pair) in hists__add_dummy_entry() argument
2158 cmp = hist_entry__collapse(he, pair); in hists__add_dummy_entry()
2169 he = hist_entry__new(pair, true); in hists__add_dummy_entry()
2186 struct hist_entry *pair) in add_dummy_hierarchy_entry() argument
2201 cmp = fmt->collapse(fmt, he, pair); in add_dummy_hierarchy_entry()
2214 he = hist_entry__new(pair, true); in add_dummy_hierarchy_entry()
2285 struct hist_entry *pos, *pair; in hists__match_hierarchy() local
2289 pair = hists__find_hierarchy_entry(other_root, pos); in hists__match_hierarchy()
2291 if (pair) { in hists__match_hierarchy()
2292 hist_entry__add_pair(pair, pos); in hists__match_hierarchy()
[all …]
/tools/perf/Documentation/
Dperf-diff.txt125 the command line are searched for the baseline sample pair. If the pair
138 x - computation takes place for pair
Dintel-bts.txt13 code is still needed to pair up calls and returns correctly, consequently much
Dperf-script-perl.txt208 nsecs($secs, $nsecs) - returns total nsecs given secs/nsecs pair
Dperf-record.txt88 - a group of events surrounded by a pair of brace ("{event1,event2,...}").
Dperf-script-python.txt607 nsecs(secs, nsecs) - returns total nsecs given secs/nsecs pair
/tools/testing/selftests/tc-testing/
DREADME17 * The kernel must have veth support available, as a veth pair is created