Lines Matching full:counters

165 struct counters {  struct
166 struct counters *next_cpu; argument
174 extern struct counters *glob_cpu[MAX_CPU]; argument
175 struct counters *glob_cpu[MAX_CPU];
177 extern struct counters *cnts;
178 struct counters *cnts=NULL;
183 extern int (*expression)(struct counters *, int);
184 int (*expression)(struct counters *, int);
193 int (*func)(struct counters *, int);
448 static struct counters *
449 find_counter(struct counters *base, const char *name) in find_counter()
451 struct counters *at; in find_counter()
473 allocstall1(struct counters *cpu, int pos) in allocstall1()
477 struct counters *partial; in allocstall1()
478 struct counters *unhalt; in allocstall1()
495 allocstall2(struct counters *cpu, int pos) in allocstall2()
499 struct counters *partial; in allocstall2()
500 struct counters *unhalt; in allocstall2()
517 br_mispredict(struct counters *cpu, int pos) in br_mispredict()
519 struct counters *brctr; in br_mispredict()
520 struct counters *unhalt; in br_mispredict()
541 br_mispredictib(struct counters *cpu, int pos) in br_mispredictib()
543 struct counters *brctr; in br_mispredictib()
544 struct counters *unhalt; in br_mispredictib()
545 struct counters *clear, *clear2, *clear3; in br_mispredictib()
546 struct counters *uops; in br_mispredictib()
547 struct counters *recv; in br_mispredictib()
548 struct counters *iss; in br_mispredictib()
595 br_mispredict_broad(struct counters *cpu, int pos) in br_mispredict_broad()
597 struct counters *brctr; in br_mispredict_broad()
598 struct counters *unhalt; in br_mispredict_broad()
599 struct counters *clear; in br_mispredict_broad()
600 struct counters *uops; in br_mispredict_broad()
601 struct counters *uops_ret; in br_mispredict_broad()
602 struct counters *recv; in br_mispredict_broad()
636 splitloadib(struct counters *cpu, int pos) in splitloadib()
639 struct counters *mem; in splitloadib()
640 struct counters *l1d, *ldblock; in splitloadib()
641 struct counters *unhalt; in splitloadib()
670 splitload(struct counters *cpu, int pos) in splitload()
673 struct counters *mem; in splitload()
674 struct counters *unhalt; in splitload()
695 splitload_sb(struct counters *cpu, int pos) in splitload_sb()
698 struct counters *mem; in splitload_sb()
699 struct counters *unhalt; in splitload_sb()
720 splitstore_sb(struct counters *cpu, int pos) in splitstore_sb()
724 struct counters *mem_split; in splitstore_sb()
725 struct counters *mem_stores; in splitstore_sb()
744 splitstore(struct counters *cpu, int pos) in splitstore()
748 struct counters *mem_split; in splitstore()
749 struct counters *mem_stores; in splitstore()
767 contested(struct counters *cpu, int pos) in contested()
771 struct counters *mem; in contested()
772 struct counters *unhalt; in contested()
791 contested_has(struct counters *cpu, int pos) in contested_has()
795 struct counters *mem; in contested_has()
796 struct counters *unhalt; in contested_has()
815 contestedbroad(struct counters *cpu, int pos) in contestedbroad()
819 struct counters *mem; in contestedbroad()
820 struct counters *mem2; in contestedbroad()
821 struct counters *unhalt; in contestedbroad()
845 blockstoreforward(struct counters *cpu, int pos) in blockstoreforward()
849 struct counters *ldb; in blockstoreforward()
850 struct counters *unhalt; in blockstoreforward()
869 cache2(struct counters *cpu, int pos) in cache2()
876 struct counters *mem1, *mem2, *mem3; in cache2()
877 struct counters *unhalt; in cache2()
905 datasharing(struct counters *cpu, int pos) in datasharing()
911 struct counters *mem; in datasharing()
912 struct counters *unhalt; in datasharing()
933 datasharing_has(struct counters *cpu, int pos) in datasharing_has()
939 struct counters *mem; in datasharing_has()
940 struct counters *unhalt; in datasharing_has()
961 cache2ib(struct counters *cpu, int pos) in cache2ib()
967 struct counters *mem; in cache2ib()
968 struct counters *unhalt; in cache2ib()
987 cache2has(struct counters *cpu, int pos) in cache2has()
996 struct counters *mem1, *mem2, *mem3; in cache2has()
997 struct counters *unhalt; in cache2has()
1025 cache2broad(struct counters *cpu, int pos) in cache2broad()
1031 struct counters *mem; in cache2broad()
1032 struct counters *unhalt; in cache2broad()
1052 cache1(struct counters *cpu, int pos) in cache1()
1056 struct counters *mem; in cache1()
1057 struct counters *unhalt; in cache1()
1076 cache1ib(struct counters *cpu, int pos) in cache1ib()
1080 struct counters *mem; in cache1ib()
1081 struct counters *unhalt; in cache1ib()
1101 cache1broad(struct counters *cpu, int pos) in cache1broad()
1105 struct counters *mem; in cache1broad()
1106 struct counters *unhalt; in cache1broad()
1126 dtlb_missload(struct counters *cpu, int pos) in dtlb_missload()
1130 struct counters *dtlb_m, *dtlb_d; in dtlb_missload()
1131 struct counters *unhalt; in dtlb_missload()
1153 dtlb_missstore(struct counters *cpu, int pos) in dtlb_missstore()
1160 struct counters *dtsb_m, *dtsb_d; in dtlb_missstore()
1161 struct counters *unhalt; in dtlb_missstore()
1183 itlb_miss(struct counters *cpu, int pos) in itlb_miss()
1187 struct counters *itlb; in itlb_miss()
1188 struct counters *unhalt; in itlb_miss()
1207 itlb_miss_broad(struct counters *cpu, int pos) in itlb_miss_broad()
1211 struct counters *itlb; in itlb_miss_broad()
1212 struct counters *unhalt; in itlb_miss_broad()
1213 struct counters *four_k; in itlb_miss_broad()
1235 icache_miss(struct counters *cpu, int pos) in icache_miss()
1240 struct counters *itlb, *icache; in icache_miss()
1241 struct counters *unhalt; in icache_miss()
1263 icache_miss_has(struct counters *cpu, int pos) in icache_miss_has()
1268 struct counters *icache; in icache_miss_has()
1269 struct counters *unhalt; in icache_miss_has()
1289 lcp_stall(struct counters *cpu, int pos) in lcp_stall()
1293 struct counters *ild; in lcp_stall()
1294 struct counters *unhalt; in lcp_stall()
1314 frontendstall(struct counters *cpu, int pos) in frontendstall()
1318 struct counters *idq; in frontendstall()
1319 struct counters *unhalt; in frontendstall()
1338 clears(struct counters *cpu, int pos) in clears()
1344 struct counters *clr1, *clr2, *clr3; in clears()
1345 struct counters *unhalt; in clears()
1373 clears_broad(struct counters *cpu, int pos) in clears_broad()
1376 struct counters *clr1, *clr2, *clr3, *cyc; in clears_broad()
1377 struct counters *unhalt; in clears_broad()
1410 microassist(struct counters *cpu, int pos) in microassist()
1414 struct counters *idq; in microassist()
1415 struct counters *unhalt; in microassist()
1435 microassist_broad(struct counters *cpu, int pos) in microassist_broad()
1438 struct counters *idq; in microassist_broad()
1439 struct counters *unhalt; in microassist_broad()
1440 struct counters *uopiss; in microassist_broad()
1441 struct counters *uopret; in microassist_broad()
1467 aliasing(struct counters *cpu, int pos) in aliasing()
1471 struct counters *ld; in aliasing()
1472 struct counters *unhalt; in aliasing()
1491 aliasing_broad(struct counters *cpu, int pos) in aliasing_broad()
1495 struct counters *ld; in aliasing_broad()
1496 struct counters *unhalt; in aliasing_broad()
1516 fpassists(struct counters *cpu, int pos) in fpassists()
1520 struct counters *fp; in fpassists()
1521 struct counters *inst; in fpassists()
1539 otherassistavx(struct counters *cpu, int pos) in otherassistavx()
1543 struct counters *oth; in otherassistavx()
1544 struct counters *unhalt; in otherassistavx()
1563 otherassistsse(struct counters *cpu, int pos) in otherassistsse()
1567 struct counters *oth; in otherassistsse()
1568 struct counters *unhalt; in otherassistsse()
1588 efficiency1(struct counters *cpu, int pos) in efficiency1()
1592 struct counters *uops; in efficiency1()
1593 struct counters *unhalt; in efficiency1()
1613 efficiency2(struct counters *cpu, int pos) in efficiency2()
1617 struct counters *uops; in efficiency2()
1618 struct counters *unhalt; in efficiency2()
2010 printf("Test %s requires that the CPU have %d counters and this CPU has only %d\n", in set_expression()
2054 do_expression(struct counters *cpu, int pos) in do_expression()
2064 struct counters *up; in process_header()
2107 * Ok output is an array of counters. Once in build_counters_from_header()
2111 * of the counters, filling in the CPU and in build_counters_from_header()
2125 mlen = sizeof(struct counters) * cnt; in build_counters_from_header()
2205 struct counters *cpat, *at; in lace_cpus_together()
2265 printf("Nothing to do -- no counters built\n"); in process_file()
2493 printf("We have %d PMC counters to work with\n", max_pmc_counters); in get_cpuid_set()
2735 user_expr(struct counters *cpu, int pos) in user_expr()
2739 struct counters *var; in user_expr()