Searched refs:rhs (Results 1 – 12 of 12) sorted by relevance
| /tools/perf/arch/x86/util/ |
| A D | evlist.c | 8 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) in arch_evlist__cmp() argument 51 (arch_evsel__must_be_in_group(lhs) || arch_evsel__must_be_in_group(rhs))) { in arch_evlist__cmp() 55 if (arch_is_topdown_slots(rhs)) in arch_evlist__cmp() 64 if (lhs->core.leader != rhs->core.leader) { in arch_evlist__cmp() 66 bool rhs_topdown = arch_is_topdown_metrics(rhs); in arch_evlist__cmp() 76 if (lhs->retire_lat && !rhs->retire_lat) in arch_evlist__cmp() 78 if (!lhs->retire_lat && rhs->retire_lat) in arch_evlist__cmp() 82 return lhs->core.idx - rhs->core.idx; in arch_evlist__cmp()
|
| /tools/perf/pmu-events/ |
| A D | metric.py | 119 self.rhs = _Constify(rhs) 163 rhs = self.rhs.Simplify() 195 other.lhs) and self.rhs.Equals(other.rhs) 202 rhs = None 203 if self.rhs: 204 rhs = self.rhs.Substitute(name, expression) 264 self.rhs = _Constify(rhs) 278 rhs = self.rhs.Simplify() if self.rhs else None 292 result = result and self.rhs.Equals(other.rhs) 300 rhs = None [all …]
|
| /tools/perf/scripts/python/ |
| A D | compaction-times.py | 61 def __add__(self, rhs): argument 62 self.aval += rhs.aval 63 self.bval += rhs.bval 76 def __add__(self, rhs): argument 77 self.ns += rhs.ns 78 self.migrated += rhs.migrated 79 self.fscan += rhs.fscan 80 self.mscan += rhs.mscan 167 def __add__(self, rhs): argument 168 self.ns += rhs.ns [all …]
|
| /tools/perf/tests/ |
| A D | cpumap.c | 159 static int __test__cpu_map_merge(const char *lhs, const char *rhs, int nr, const char *expected) in __test__cpu_map_merge() argument 162 struct perf_cpu_map *b = perf_cpu_map__new(rhs); in __test__cpu_map_merge() 207 static int __test__cpu_map_intersect(const char *lhs, const char *rhs, int nr, const char *expected) in __test__cpu_map_intersect() argument 210 struct perf_cpu_map *b = perf_cpu_map__new(rhs); in __test__cpu_map_intersect()
|
| /tools/lib/perf/ |
| A D | cpumap.c | 325 bool perf_cpu_map__equal(const struct perf_cpu_map *lhs, const struct perf_cpu_map *rhs) in perf_cpu_map__equal() argument 329 if (lhs == rhs) in perf_cpu_map__equal() 332 if (!lhs || !rhs) in perf_cpu_map__equal() 336 if (nr != __perf_cpu_map__nr(rhs)) in perf_cpu_map__equal() 340 if (__perf_cpu_map__cpu(lhs, idx).cpu != __perf_cpu_map__cpu(rhs, idx).cpu) in perf_cpu_map__equal()
|
| /tools/testing/selftests/cgroup/ |
| A D | test_cpu.c | 108 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) in timespec_sub() argument 116 if (lhs->tv_sec < rhs->tv_sec) in timespec_sub() 119 ret.tv_sec = lhs->tv_sec - rhs->tv_sec; in timespec_sub() 121 if (lhs->tv_nsec < rhs->tv_nsec) { in timespec_sub() 126 ret.tv_nsec = NSEC_PER_SEC - rhs->tv_nsec + lhs->tv_nsec; in timespec_sub() 128 ret.tv_nsec = lhs->tv_nsec - rhs->tv_nsec; in timespec_sub()
|
| /tools/lib/perf/include/perf/ |
| A D | cpumap.h | 84 const struct perf_cpu_map *rhs);
|
| /tools/testing/selftests/bpf/ |
| A D | bpf_experimental.h | 261 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \ 294 :: [lhs] "r"((short)LHS), [rhs] PRED (RHS) :: l_true); \
|
| /tools/perf/util/ |
| A D | parse-events.c | 2048 __weak int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) in arch_evlist__cmp() argument 2051 return lhs->core.idx - rhs->core.idx; in arch_evlist__cmp() 2059 const struct evsel *rhs = container_of(rhs_core, struct evsel, core); in evlist__cmp() local 2077 if (*force_grouped_idx != -1 && arch_evsel__must_be_in_group(rhs)) { in evlist__cmp() 2102 rhs_pmu_name = rhs->group_pmu_name; in evlist__cmp() 2112 return arch_evlist__cmp(lhs, rhs); in evlist__cmp()
|
| A D | pmus.c | 225 const struct list_head *lhs, const struct list_head *rhs) in pmus_cmp() argument 228 struct perf_pmu *rhs_pmu = container_of(rhs, struct perf_pmu, list); in pmus_cmp()
|
| A D | evlist.h | 113 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs);
|
| A D | symbol.c | 457 const struct symbol *rhs = *((const struct symbol **)vrhs); in symbols__sort_name_cmp() local 459 return strcmp(lhs->name, rhs->name); in symbols__sort_name_cmp()
|
Completed in 34 milliseconds