Symbol: pmt_counter
tools/power/x86/turbostat/turbostat.c
10313
struct pmt_counter *pmt_find_counter(struct pmt_counter *pcounter, const char *name)
tools/power/x86/turbostat/turbostat.c
10325
struct pmt_counter **pmt_get_scope_root(enum counter_scope scope)
tools/power/x86/turbostat/turbostat.c
10339
void pmt_counter_add_domain(struct pmt_counter *pcounter, unsigned long *pmmio, unsigned int domain_id)
tools/power/x86/turbostat/turbostat.c
10356
struct pmt_counter *pcounter;
tools/power/x86/turbostat/turbostat.c
10357
struct pmt_counter **const pmt_root = pmt_get_scope_root(scope);
tools/power/x86/turbostat/turbostat.c
1967
struct pmt_counter *next;
tools/power/x86/turbostat/turbostat.c
2070
unsigned int pmt_counter_get_width(const struct pmt_counter *p)
tools/power/x86/turbostat/turbostat.c
2075
void pmt_counter_resize_(struct pmt_counter *pcounter, unsigned int new_size)
tools/power/x86/turbostat/turbostat.c
2094
void pmt_counter_resize(struct pmt_counter *pcounter, unsigned int new_size)
tools/power/x86/turbostat/turbostat.c
2138
unsigned long long pmt_counter[PMT_MAX_ADDED_THREAD_COUNTERS];
tools/power/x86/turbostat/turbostat.c
2152
unsigned long long pmt_counter[PMT_MAX_ADDED_CORE_COUNTERS];
tools/power/x86/turbostat/turbostat.c
2187
unsigned long long pmt_counter[PMT_MAX_ADDED_PACKAGE_COUNTERS];
tools/power/x86/turbostat/turbostat.c
2331
struct pmt_counter *pmt_tp;
tools/power/x86/turbostat/turbostat.c
2332
struct pmt_counter *pmt_cp;
tools/power/x86/turbostat/turbostat.c
2333
struct pmt_counter *pmt_pp;
tools/power/x86/turbostat/turbostat.c
2913
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3352
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3537
const unsigned long value_raw = t->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3541
outp += print_hex_value(pmt_counter_get_width(ppmt), &printed, delim, t->pmt_counter[i]);
tools/power/x86/turbostat/turbostat.c
3603
const unsigned long value_raw = c->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3607
outp += print_hex_value(pmt_counter_get_width(ppmt), &printed, delim, c->pmt_counter[i]);
tools/power/x86/turbostat/turbostat.c
3759
const unsigned long value_raw = p->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3763
outp += print_hex_value(pmt_counter_get_width(ppmt), &printed, delim, p->pmt_counter[i]);
tools/power/x86/turbostat/turbostat.c
3836
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3908
old->pmt_counter[i] = new->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3910
old->pmt_counter[i] = new->pmt_counter[i] - old->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3921
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
3948
old->pmt_counter[i] = new->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3950
old->pmt_counter[i] = new->pmt_counter[i] - old->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
3970
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
4072
old->pmt_counter[i] = new->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4074
old->pmt_counter[i] = new->pmt_counter[i] - old->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4194
memset(&t->pmt_counter[0], 0, ARRAY_SIZE(t->pmt_counter));
tools/power/x86/turbostat/turbostat.c
4195
memset(&c->pmt_counter[0], 0, ARRAY_SIZE(c->pmt_counter));
tools/power/x86/turbostat/turbostat.c
4196
memset(&p->pmt_counter[0], 0, ARRAY_SIZE(p->pmt_counter));
tools/power/x86/turbostat/turbostat.c
4218
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
4263
average.threads->pmt_counter[i] += t->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4293
average.cores->pmt_counter[i] += c->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4357
average.packages->pmt_counter[i] += p->pmt_counter[i];
tools/power/x86/turbostat/turbostat.c
4372
struct pmt_counter *ppmt;
tools/power/x86/turbostat/turbostat.c
4478
average.threads->pmt_counter[i] /= topo.allowed_cpus;
tools/power/x86/turbostat/turbostat.c
4481
average.cores->pmt_counter[i] /= topo.allowed_cores;
tools/power/x86/turbostat/turbostat.c
4484
average.packages->pmt_counter[i] /= topo.allowed_packages;
tools/power/x86/turbostat/turbostat.c
5193
unsigned long pmt_read_counter(struct pmt_counter *ppmt, unsigned int domain_id)
tools/power/x86/turbostat/turbostat.c
5233
struct pmt_counter *pp;
tools/power/x86/turbostat/turbostat.c
5277
t->pmt_counter[i] = pmt_read_counter(pp, t->cpu_id);
tools/power/x86/turbostat/turbostat.c
5321
c->pmt_counter[i] = pmt_read_counter(pp, cpus[t->cpu_id].core_id);
tools/power/x86/turbostat/turbostat.c
5400
p->pmt_counter[i] = pmt_read_counter(pp, cpus[t->cpu_id].package_id);