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