Lines Matching refs:thread_data
168 struct thread_data { struct
381 struct thread_data threads;
429 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument
430 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus()
439 struct thread_data *t; in for_all_cpus()
913 int dump_counters(struct thread_data *t, struct core_data *c, in dump_counters()
999 int format_counters(struct thread_data *t, struct core_data *c, in format_counters()
1306 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters()
1416 delta_thread(struct thread_data *new, struct thread_data *old, in delta_thread()
1500 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu()
1501 struct pkg_data *p, struct thread_data *t2, in delta_cpu()
1522 void clear_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in clear_counters()
1590 int sum_counters(struct thread_data *t, struct core_data *c, in sum_counters()
1694 void compute_average(struct thread_data *t, struct core_data *c, in compute_average()
1834 void get_apic_id(struct thread_data *t) in get_apic_id()
1888 int get_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in get_counters()
2801 int for_all_cpus_2(int (func)(struct thread_data *, struct core_data *, in for_all_cpus_2() argument
2802 struct pkg_data *, struct thread_data *, struct core_data *, in for_all_cpus_2()
2803 struct pkg_data *), struct thread_data *thread_base, in for_all_cpus_2()
2805 struct thread_data *thread_base2, struct core_data *core_base2, in for_all_cpus_2()
2816 struct thread_data *t, *t2; in for_all_cpus_2()
3241 static int update_msr_sum(struct thread_data *t, struct core_data *c, struct pkg_data *p) in update_msr_sum()
3918 int print_epb(struct thread_data *t, struct core_data *c, struct pkg_data *p) in print_epb()
3963 int print_hwp(struct thread_data *t, struct core_data *c, struct pkg_data *p) in print_hwp()
4054 int print_perf_limit(struct thread_data *t, struct core_data *c, struct pkg_data *p) in print_perf_limit()
4431 int print_thermal(struct thread_data *t, struct core_data *c, struct pkg_data *p) in print_thermal()
4504 int print_rapl(struct thread_data *t, struct core_data *c, struct pkg_data *p) in print_rapl()
4818 int set_temperature_target(struct thread_data *t, struct core_data *c, struct pkg_data *p) in set_temperature_target()
5488 allocate_counters(struct thread_data **t, struct core_data **c, in allocate_counters()
5496 *t = calloc(num_threads, sizeof(struct thread_data)); in allocate_counters()
5526 void init_counter(struct thread_data *thread_base, struct core_data *core_base, in init_counter()
5533 struct thread_data *t; in init_counter()