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_cpu.c53 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument
60 if (cpu_index != ALL_CPUS && cpu_index >= sysInfo.dwNumberOfProcessors) { in get_cpu_stats()
90 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument
96 if (cpu_index == ALL_CPUS) in get_cpu_stats()
99 sprintf(cpuname, "cpu%u", cpu_index); in get_cpu_stats()
140 unsigned cpu_index; member
154 get_cpu_stats(info->cpu_index, &cpu_busy, &cpu_total); in query_cpu_load()
168 get_cpu_stats(info->cpu_index, &info->last_cpu_busy, in query_cpu_load()
180 hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index) in hud_cpu_graph_install() argument
187 if (cpu_index != ALL_CPUS && !get_cpu_stats(cpu_index, &busy, &total)) { in hud_cpu_graph_install()
[all …]
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_private.h95 void hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index);
131 void hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, unsigned int mode);
/external/v8/tools/
Drun_perf.py903 def GetCPUPathForId(cpu_index): argument
905 ret += str(cpu_index)
914 for cpu_index in cpu_indices:
915 cpu_device = CustomMachineConfiguration.GetCPUPathForId(cpu_index)
933 for cpu_index in cpu_indices:
934 cpu_device = CustomMachineConfiguration.GetCPUPathForId(cpu_index)
/external/fio/os/
Dos.h106 static inline int fio_cpus_split(os_cpu_mask_t *mask, unsigned int cpu_index) in fio_cpus_split() argument
/external/fio/
Doptions.c435 int fio_cpus_split(os_cpu_mask_t *mask, unsigned int cpu_index) in fio_cpus_split() argument
441 cpu_index = cpu_index % cpus_in_mask; in fio_cpus_split()
448 if (cpu_index != index) in fio_cpus_split()