Home
last modified time | relevance | path

Searched refs:cpu_index (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_cpufreq.c55 int cpu_index; member
68 find_cfi_by_index(int cpu_index, int mode) in find_cfi_by_index() argument
73 if (cfi->cpu_index == cpu_index) in find_cfi_by_index()
124 hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, in hud_cpufreq_graph_install() argument
134 cfi = find_cfi_by_index(cpu_index, mode); in hud_cpufreq_graph_install()
165 add_object(const char *name, const char *fn, int objmode, int cpu_index) in add_object() argument
172 cfi->cpu_index = cpu_index; in add_object()
189 int cpu_index; in hud_get_num_cpufreq() local
214 if (sscanf(dp->d_name, "cpu%d\n", &cpu_index) != 1) in hud_get_num_cpufreq()
228 add_object(dp->d_name, fn, CPUFREQ_MINIMUM, cpu_index); in hud_get_num_cpufreq()
[all …]
Dhud_cpu.c55 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument
62 if (cpu_index != ALL_CPUS && cpu_index >= sysInfo.dwNumberOfProcessors) { in get_cpu_stats()
92 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument
98 if (cpu_index == ALL_CPUS) in get_cpu_stats()
101 sprintf(cpuname, "cpu%u", cpu_index); in get_cpu_stats()
142 unsigned cpu_index; member
157 get_cpu_stats(info->cpu_index, &cpu_busy, &cpu_total); in query_cpu_load()
171 get_cpu_stats(info->cpu_index, &info->last_cpu_busy, in query_cpu_load()
183 hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index) in hud_cpu_graph_install() argument
190 if (cpu_index != ALL_CPUS && !get_cpu_stats(cpu_index, &busy, &total)) { in hud_cpu_graph_install()
[all …]
Dhud_private.h159 void hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index);
200 void hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, unsigned int mode);
/external/u-boot/drivers/timer/
Dtsc_timer.c83 #define id_to_freq(cpu_index, freq_id) \ argument
84 (freq_desc_tables[cpu_index].freqs[freq_id])
100 int cpu_index; in cpu_mhz_from_msr() local
105 cpu_index = match_cpu(gd->arch.x86, gd->arch.x86_model); in cpu_mhz_from_msr()
106 if (cpu_index < 0) in cpu_mhz_from_msr()
109 if (freq_desc_tables[cpu_index].msr_plat) { in cpu_mhz_from_msr()
118 if (freq_desc_tables[cpu_index].msr_plat == 2) { in cpu_mhz_from_msr()
126 freq = id_to_freq(cpu_index, freq_id); in cpu_mhz_from_msr()
/external/v8/tools/
Drun_perf.py849 def GetCPUPathForId(cpu_index): argument
851 ret += str(cpu_index)
860 for cpu_index in cpu_indices:
861 cpu_device = CustomMachineConfiguration.GetCPUPathForId(cpu_index)
879 for cpu_index in cpu_indices:
880 cpu_device = CustomMachineConfiguration.GetCPUPathForId(cpu_index)
/external/u-boot/arch/x86/cpu/
Dmp_init.c133 static void ap_init(unsigned int cpu_index) in ap_init() argument
149 debug("AP: slot %d apic_id %x, dev %s\n", cpu_index, apic_id, in ap_init()