Lines Matching refs:the_cpu

205 extern struct cpu_type the_cpu;
206 struct cpu_type the_cpu; variable
1965 strcpy(the_cpu.cputype, "SandyBridge PMC"); in set_sandybridge()
1966 the_cpu.number = SANDY_BRIDGE_COUNT; in set_sandybridge()
1967 the_cpu.ents = sandy_bridge; in set_sandybridge()
1968 the_cpu.explain = explain_name_sb; in set_sandybridge()
1974 strcpy(the_cpu.cputype, "IvyBridge PMC"); in set_ivybridge()
1975 the_cpu.number = IVY_BRIDGE_COUNT; in set_ivybridge()
1976 the_cpu.ents = ivy_bridge; in set_ivybridge()
1977 the_cpu.explain = explain_name_ib; in set_ivybridge()
1984 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_haswell()
1985 the_cpu.number = HASWELL_COUNT; in set_haswell()
1986 the_cpu.ents = haswell; in set_haswell()
1987 the_cpu.explain = explain_name_has; in set_haswell()
1994 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_broadwell()
1995 the_cpu.number = BROADWELL_COUNT; in set_broadwell()
1996 the_cpu.ents = broadwell; in set_broadwell()
1997 the_cpu.explain = explain_name_broad; in set_broadwell()
2005 for(i=0 ; i< the_cpu.number; i++) { in set_expression()
2006 if (strcmp(name, the_cpu.ents[i].name) == 0) { in set_expression()
2008 expression = the_cpu.ents[i].func; in set_expression()
2009 command = the_cpu.ents[i].command; in set_expression()
2010 threshold = the_cpu.ents[i].thresh; in set_expression()
2011 if (the_cpu.ents[i].counters_required > max_pmc_counters) { in set_expression()
2013 the_cpu.ents[i].name, in set_expression()
2014 the_cpu.ents[i].counters_required, max_pmc_counters); in set_expression()
2027 the_cpu.cputype, name); in set_expression()
2043 for(i=0 ; i< the_cpu.number; i++) { in validate_expression()
2044 if (strcmp(name, the_cpu.ents[i].name) == 0) { in validate_expression()
2552 printf("For CPU's of type %s the following expressions are available:\n",the_cpu.cputype); in explain_all()
2554 for(i=0; i<the_cpu.number; i++){ in explain_all()
2555 printf("For -e %s ", the_cpu.ents[i].name); in explain_all()
2556 (*the_cpu.explain)(the_cpu.ents[i].name); in explain_all()
2888 (*the_cpu.explain)(name); in main()
2899 name = the_cpu.ents[test_at].name; in main()
2900 printf("***Test %s (threshold %s)****\n", name, the_cpu.ents[test_at].thresh); in main()
2903 if (test_at >= the_cpu.number) { in main()
2939 if (run_all && (test_at < the_cpu.number)) { in main()