Home
last modified time | relevance | path

Searched refs:cpuinfo_core (Results 1 – 15 of 15) sorted by relevance

/external/cpuinfo/test/
Dget-current.cc23 const struct cpuinfo_core* current_core = cpuinfo_get_current_core(); in TEST()
28 const struct cpuinfo_core* cores_begin = cpuinfo_get_cores(); in TEST()
29 const struct cpuinfo_core* cores_end = cores_begin + cpuinfo_get_cores_count(); in TEST()
Dinit.cc31 const cpuinfo_core* core = processor->core; in TEST()
55 const cpuinfo_core* core = processor->core; in TEST()
209 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
220 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
236 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
249 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
260 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
274 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
285 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
299 const cpuinfo_core* core = cpuinfo_get_core(i); in TEST()
[all …]
/external/cpuinfo/src/
Dapi.c21 struct cpuinfo_core* cpuinfo_cores = NULL;
43 const struct cpuinfo_core** cpuinfo_linux_cpu_to_core_map = NULL;
57 const struct cpuinfo_core* cpuinfo_get_cores(void) { in cpuinfo_get_cores()
99 const struct cpuinfo_core* cpuinfo_get_core(uint32_t index) { in cpuinfo_get_core()
331 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void) { in cpuinfo_get_current_core()
/external/cpuinfo/src/emscripten/
Dinit.c28 struct cpuinfo_core* cores = NULL; in cpuinfo_emscripten_init()
67 cores = calloc(processor_count, sizeof(struct cpuinfo_core)); in cpuinfo_emscripten_init()
70 processor_count * sizeof(struct cpuinfo_core), processor_count); in cpuinfo_emscripten_init()
124 cores[i] = (struct cpuinfo_core) { in cpuinfo_emscripten_init()
/external/cpuinfo/src/cpuinfo/
Dinternal-api.h26 extern CPUINFO_INTERNAL struct cpuinfo_core* cpuinfo_cores;
48 extern CPUINFO_INTERNAL const struct cpuinfo_core** cpuinfo_linux_cpu_to_core_map;
/external/cpuinfo/src/x86/linux/
Dinit.c147 struct cpuinfo_core* cores = NULL; in cpuinfo_x86_linux_init()
151 const struct cpuinfo_core** linux_cpu_to_core_map = NULL; in cpuinfo_x86_linux_init()
272 linux_cpu_to_core_map = calloc(x86_linux_processors_count, sizeof(struct cpuinfo_core*)); in cpuinfo_x86_linux_init()
275 x86_linux_processors_count * sizeof(struct cpuinfo_core*), in cpuinfo_x86_linux_init()
280 cores = calloc(cores_count, sizeof(struct cpuinfo_core)); in cpuinfo_x86_linux_init()
283 cores_count * sizeof(struct cpuinfo_core), cores_count); in cpuinfo_x86_linux_init()
392 cores[core_index] = (struct cpuinfo_core) { in cpuinfo_x86_linux_init()
/external/cpuinfo/src/x86/windows/
Dinit.c109 struct cpuinfo_core* cores = NULL; in cpuinfo_x86_windows_init()
291 processors[processor_id].core = (const struct cpuinfo_core*) NULL + core_id; in cpuinfo_x86_windows_init()
299 cores = HeapAlloc(heap, HEAP_ZERO_MEMORY, cores_count * sizeof(struct cpuinfo_core)); in cpuinfo_x86_windows_init()
302 cores_count * sizeof(struct cpuinfo_core), cores_count); in cpuinfo_x86_windows_init()
325 struct cpuinfo_core* core = in cpuinfo_x86_windows_init()
326 (struct cpuinfo_core*) ((uintptr_t) cores + (uintptr_t) processor->core); in cpuinfo_x86_windows_init()
351 struct cpuinfo_core* core = cores + global_core_id; in cpuinfo_x86_windows_init()
/external/cpuinfo/src/x86/mach/
Dinit.c22 struct cpuinfo_core* cores = NULL; in cpuinfo_x86_mach_init()
38 cores = calloc(mach_topology.cores, sizeof(struct cpuinfo_core)); in cpuinfo_x86_mach_init()
41 mach_topology.cores * sizeof(struct cpuinfo_core), mach_topology.cores); in cpuinfo_x86_mach_init()
88 cores[i] = (struct cpuinfo_core) { in cpuinfo_x86_mach_init()
/external/cpuinfo/src/arm/linux/
Dinit.c107 struct cpuinfo_core* cores = NULL; in cpuinfo_arm_linux_init()
115 const struct cpuinfo_core** linux_cpu_to_core_map = NULL; in cpuinfo_arm_linux_init()
436 cores = calloc(valid_processors, sizeof(struct cpuinfo_core)); in cpuinfo_arm_linux_init()
439 valid_processors * sizeof(struct cpuinfo_core), valid_processors); in cpuinfo_arm_linux_init()
464 linux_cpu_to_core_map = calloc(arm_linux_processors_count, sizeof(struct cpuinfo_core*)); in cpuinfo_arm_linux_init()
467 arm_linux_processors_count * sizeof(struct cpuinfo_core*), arm_linux_processors_count); in cpuinfo_arm_linux_init()
/external/cpuinfo/include/
Dcpuinfo.h524 const struct cpuinfo_core* core;
564 struct cpuinfo_core { struct
1797 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_cores(void);
1808 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_core(uint32_t index);
1848 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void);
/external/cpuinfo/src/arm/mach/
Dinit.c257 struct cpuinfo_core* cores = NULL; in cpuinfo_arm_mach_init()
273 cores = calloc(mach_topology.cores, sizeof(struct cpuinfo_core)); in cpuinfo_arm_mach_init()
276 mach_topology.cores * sizeof(struct cpuinfo_core), mach_topology.cores); in cpuinfo_arm_mach_init()
371 cores[i] = (struct cpuinfo_core) { in cpuinfo_arm_mach_init()
/external/cpuinfo/bench/
Dget-current.cc18 const cpuinfo_core* current_core = cpuinfo_get_current_core(); in cpuinfo_get_current_core()
/external/cpuinfo/src/linux/
Dapi.h59 extern CPUINFO_INTERNAL const struct cpuinfo_core** cpuinfo_linux_cpu_to_core_map;
/external/cpuinfo/tools/
Dcpu-info.c291 const struct cpuinfo_core* core = cpuinfo_get_core(i); in main()
/external/XNNPACK/third_party/
Dcpuinfo.patch107 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_cores(void);
529 struct cpuinfo_core* cores = NULL;