Lines Matching refs:thread_data
1994 struct thread_data {
2266 struct thread_data threads;
2334 #define PER_THREAD_PARAMS struct thread_data *t, struct core_data *c, struct pkg_data *p
2336 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *),
2337 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base)
2347 struct thread_data *t;
3837 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta)
3942 int delta_cpu(struct thread_data *t, struct core_data *c,
3943 struct pkg_data *p, struct thread_data *t2, struct core_data *c2, struct pkg_data *p2)
4458 void get_apic_id(struct thread_data *t)
4946 int get_smi_aperf_mperf(unsigned int cpu, struct thread_data *t)
6106 int for_all_cpus_2(int (func) (struct thread_data *, struct core_data *,
6107 struct pkg_data *, struct thread_data *, struct core_data *,
6108 struct pkg_data *), struct thread_data *thread_base,
6110 struct thread_data *thread_base2, struct core_data *core_base2, struct pkg_data *pkg_base2)
6120 struct thread_data *t, *t2;
9293 void allocate_counters(struct thread_data **t, struct core_data **c, struct pkg_data **p)
9299 *t = calloc(num_threads, sizeof(struct thread_data));
9334 void init_counter(struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base, int cpu_id)
9340 struct thread_data *t;