Symbol: pmt_counter
tools/power/x86/turbostat/turbostat.c
10237
struct pmt_counter *pmt_find_counter(struct pmt_counter *pcounter, const char *name)
tools/power/x86/turbostat/turbostat.c
10249
struct pmt_counter **pmt_get_scope_root(enum counter_scope scope)
tools/power/x86/turbostat/turbostat.c
10263
void pmt_counter_add_domain(struct pmt_counter *pcounter, unsigned long *pmmio, unsigned int domain_id)
tools/power/x86/turbostat/turbostat.c
10280
struct pmt_counter *pcounter;
tools/power/x86/turbostat/turbostat.c
10281
struct pmt_counter **const pmt_root = pmt_get_scope_root(scope);
tools/power/x86/turbostat/turbostat.c
1964
struct pmt_counter *next;
tools/power/x86/turbostat/turbostat.c
2067
unsigned int pmt_counter_get_width(const struct pmt_counter *p)
tools/power/x86/turbostat/turbostat.c
2072
void pmt_counter_resize_(struct pmt_counter *pcounter, unsigned int new_size)
tools/power/x86/turbostat/turbostat.c
2091
void pmt_counter_resize(struct pmt_counter *pcounter, unsigned int new_size)
tools/power/x86/turbostat/turbostat.c
2135
unsigned long long pmt_counter[PMT_MAX_ADDED_THREAD_COUNTERS];
tools/power/x86/turbostat/turbostat.c
2149
unsigned long long pmt_counter[PMT_MAX_ADDED_CORE_COUNTERS];
tools/power/x86/turbostat/turbostat.c
2184
unsigned long long pmt_counter[PMT_MAX_ADDED_PACKAGE_COUNTERS];
tools/power/x86/turbostat/turbostat.c
2328
struct pmt_counter *pmt_tp;
tools/power/x86/turbostat/turbostat.c
2329
struct pmt_counter *pmt_cp;
tools/power/x86/turbostat/turbostat.c
2330
struct pmt_counter *pmt_pp;
tools/power/x86/turbostat/turbostat.c
2870
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3307
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3484
const unsigned long value_raw = t->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3488
outp += print_hex_value(pmt_counter_get_width(ppmt), &printed, delim, t->pmt_counter[i]);
tools/power/x86/turbostat/turbostat.c
3550
const unsigned long value_raw = c->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3554
outp += print_hex_value(pmt_counter_get_width(ppmt), &printed, delim, c->pmt_counter[i]);
tools/power/x86/turbostat/turbostat.c
3706
const unsigned long value_raw = p->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3710
outp += print_hex_value(pmt_counter_get_width(ppmt), &printed, delim, p->pmt_counter[i]);
tools/power/x86/turbostat/turbostat.c
3783
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3855
old->pmt_counter[i] = new->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3857
old->pmt_counter[i] = new->pmt_counter[i] - old->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3868
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3895
old->pmt_counter[i] = new->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3897
old->pmt_counter[i] = new->pmt_counter[i] - old->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3917
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
4019
old->pmt_counter[i] = new->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4021
old->pmt_counter[i] = new->pmt_counter[i] - old->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4141
memset(&t->pmt_counter[0], 0, ARRAY_SIZE(t->pmt_counter));
tools/power/x86/turbostat/turbostat.c
4142
memset(&c->pmt_counter[0], 0, ARRAY_SIZE(c->pmt_counter));
tools/power/x86/turbostat/turbostat.c
4143
memset(&p->pmt_counter[0], 0, ARRAY_SIZE(p->pmt_counter));
tools/power/x86/turbostat/turbostat.c
4165
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
4210
average.threads->pmt_counter[i] += t->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4240
average.cores->pmt_counter[i] += c->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4304
average.packages->pmt_counter[i] += p->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4319
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
4425
average.threads->pmt_counter[i] /= topo.allowed_cpus;
tools/power/x86/turbostat/turbostat.c
4428
average.cores->pmt_counter[i] /= topo.allowed_cores;
tools/power/x86/turbostat/turbostat.c
4431
average.packages->pmt_counter[i] /= topo.allowed_packages;
tools/power/x86/turbostat/turbostat.c
5140
unsigned long pmt_read_counter(struct pmt_counter *ppmt, unsigned int domain_id)
tools/power/x86/turbostat/turbostat.c
5180
struct pmt_counter *pp;
tools/power/x86/turbostat/turbostat.c
5224
t->pmt_counter[i] = pmt_read_counter(pp, t->cpu_id);
tools/power/x86/turbostat/turbostat.c
5268
c->pmt_counter[i] = pmt_read_counter(pp, cpus[t->cpu_id].core_id);
tools/power/x86/turbostat/turbostat.c
5347
p->pmt_counter[i] = pmt_read_counter(pp, cpus[t->cpu_id].package_id);