Searched refs:thread_idx (Results 1 – 8 of 8) sorted by relevance
| /tools/perf/tests/ |
| A D | topology.c | 140 TEST_ASSERT_VAL("Cpu map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology() 155 TEST_ASSERT_VAL("Core map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology() 170 TEST_ASSERT_VAL("Die map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology() 183 TEST_ASSERT_VAL("Socket map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology() 195 TEST_ASSERT_VAL("Node map - Thread IDX is set", id.thread_idx == -1); in check_cpu_topology()
|
| /tools/perf/util/ |
| A D | cpumap.c | 250 return a->thread_idx - b->thread_idx; in aggr_cpu_id__cmp() 730 return a->thread_idx == b->thread_idx && in aggr_cpu_id__equal() 743 return a->thread_idx == -1 && in aggr_cpu_id__is_empty() 757 .thread_idx = -1, in aggr_cpu_id__empty()
|
| A D | cpumap.h | 12 int thread_idx; member
|
| A D | python.c | 937 int cpu = 0, cpu_idx, thread = 0, thread_idx; in pyrf_evsel__read() local 953 thread_idx = perf_thread_map__idx(evsel->core.threads, thread); in pyrf_evsel__read() 954 if (thread_idx < 0) { in pyrf_evsel__read() 964 old_count = perf_counts(evsel->prev_raw_counts, cpu_idx, thread_idx); in pyrf_evsel__read() 965 new_count = perf_counts(evsel->counts, cpu_idx, thread_idx); in pyrf_evsel__read() 967 evsel__read_counter(evsel, cpu_idx, thread_idx); in pyrf_evsel__read()
|
| A D | stat-display.c | 297 COMM_LEN, perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_std() 298 PID_LEN, perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_std() 352 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_csv() 353 perf_thread_map__pid(evsel->core.threads, id.thread_idx), in print_aggr_id_csv() 403 perf_thread_map__comm(evsel->core.threads, id.thread_idx), in print_aggr_id_json() 404 perf_thread_map__pid(evsel->core.threads, id.thread_idx)); in print_aggr_id_json()
|
| A D | evsel.c | 1967 static void evsel__remove_fd(struct evsel *pos, int nr_cpus, int nr_threads, int thread_idx) in evsel__remove_fd() argument 1970 for (int thread = thread_idx; thread < nr_threads - 1; thread++) in evsel__remove_fd() 1976 int nr_threads, int thread_idx) in update_fds() argument 1980 if (cpu_map_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds() 1986 evsel__remove_fd(pos, nr_cpus, nr_threads, thread_idx); in update_fds()
|
| /tools/perf/ |
| A D | builtin-stat.c | 1505 id.thread_idx = s; in perf_stat_init_aggr_mode() 1806 id.thread_idx = s; in perf_stat_init_aggr_mode_file()
|
| A D | builtin-record.c | 1939 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() argument 1949 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples()
|
Completed in 83 milliseconds