Lines Matching refs:thread_data
168 struct thread_data {
385 struct thread_data threads;
433 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *),
434 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base)
443 struct thread_data *t;
917 int dump_counters(struct thread_data *t, struct core_data *c,
1003 int format_counters(struct thread_data *t, struct core_data *c,
1310 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
1420 delta_thread(struct thread_data *new, struct thread_data *old,
1504 int delta_cpu(struct thread_data *t, struct core_data *c,
1505 struct pkg_data *p, struct thread_data *t2,
1526 void clear_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
1594 int sum_counters(struct thread_data *t, struct core_data *c,
1698 void compute_average(struct thread_data *t, struct core_data *c,
1838 void get_apic_id(struct thread_data *t)
1892 int get_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
2805 int for_all_cpus_2(int (func)(struct thread_data *, struct core_data *,
2806 struct pkg_data *, struct thread_data *, struct core_data *,
2807 struct pkg_data *), struct thread_data *thread_base,
2809 struct thread_data *thread_base2, struct core_data *core_base2,
2820 struct thread_data *t, *t2;
3245 static int update_msr_sum(struct thread_data *t, struct core_data *c, struct pkg_data *p)
3923 int print_epb(struct thread_data *t, struct core_data *c, struct pkg_data *p)
3968 int print_hwp(struct thread_data *t, struct core_data *c, struct pkg_data *p)
4059 int print_perf_limit(struct thread_data *t, struct core_data *c, struct pkg_data *p)
4437 int print_thermal(struct thread_data *t, struct core_data *c, struct pkg_data *p)
4510 int print_rapl(struct thread_data *t, struct core_data *c, struct pkg_data *p)
4799 int set_temperature_target(struct thread_data *t, struct core_data *c, struct pkg_data *p)
5498 allocate_counters(struct thread_data **t, struct core_data **c,
5506 *t = calloc(num_threads, sizeof(struct thread_data));
5536 void init_counter(struct thread_data *thread_base, struct core_data *core_base,
5543 struct thread_data *t;