Home
last modified time | relevance | path

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

/external/cpuinfo/test/
Dget-current.cc31 const struct cpuinfo_core* current_core = cpuinfo_get_current_core(); in TEST()
32 const struct cpuinfo_core* cores_begin = cpuinfo_get_cores(); in TEST()
33 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/linux/
Dcurrent.c16 const struct cpuinfo_core** cpuinfo_linux_cpu_to_core_map = NULL;
31 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void) { in cpuinfo_get_current_core()
Dapi.h59 extern CPUINFO_INTERNAL const struct cpuinfo_core** cpuinfo_linux_cpu_to_core_map;
/external/cpuinfo/src/
Dapi.c11 struct cpuinfo_core* cpuinfo_cores = NULL;
31 const struct cpuinfo_core* cpuinfo_get_cores(void) { in cpuinfo_get_cores()
63 const struct cpuinfo_core* cpuinfo_get_core(uint32_t index) { in cpuinfo_get_core()
/external/cpuinfo/src/x86/windows/
Dinit.c93 struct cpuinfo_core* cores = NULL; in cpuinfo_x86_windows_init()
273 processors[processor_id].core = (const struct cpuinfo_core*) NULL + core_id; in cpuinfo_x86_windows_init()
281 cores = HeapAlloc(heap, HEAP_ZERO_MEMORY, cores_count * sizeof(struct cpuinfo_core)); in cpuinfo_x86_windows_init()
284 cores_count * sizeof(struct cpuinfo_core), cores_count); in cpuinfo_x86_windows_init()
307 struct cpuinfo_core* core = in cpuinfo_x86_windows_init()
308 (struct cpuinfo_core*) ((uintptr_t) cores + (uintptr_t) processor->core); in cpuinfo_x86_windows_init()
333 struct cpuinfo_core* core = cores + global_core_id; in cpuinfo_x86_windows_init()
/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/arm/linux/
Dinit.c107 struct cpuinfo_core* cores = NULL; in cpuinfo_arm_linux_init()
110 const struct cpuinfo_core** linux_cpu_to_core_map = NULL; in cpuinfo_arm_linux_init()
421 cores = calloc(valid_processors, sizeof(struct cpuinfo_core)); in cpuinfo_arm_linux_init()
424 valid_processors * sizeof(struct cpuinfo_core), valid_processors); in cpuinfo_arm_linux_init()
442 linux_cpu_to_core_map = calloc(arm_linux_processors_count, sizeof(struct cpuinfo_core*)); in cpuinfo_arm_linux_init()
445 arm_linux_processors_count * sizeof(struct cpuinfo_core*), arm_linux_processors_count); in cpuinfo_arm_linux_init()
/external/cpuinfo/include/
Dcpuinfo.h503 const struct cpuinfo_core* core;
543 struct cpuinfo_core { struct
1721 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_cores(void);
1731 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_core(uint32_t index);
1756 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void);
/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/mach/
Dinit.c244 struct cpuinfo_core* cores = NULL; in cpuinfo_arm_mach_init()
259 cores = calloc(mach_topology.cores, sizeof(struct cpuinfo_core)); in cpuinfo_arm_mach_init()
262 mach_topology.cores * sizeof(struct cpuinfo_core), mach_topology.cores); in cpuinfo_arm_mach_init()
353 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/cpuinfo/
Dinternal-api.h25 extern CPUINFO_INTERNAL struct cpuinfo_core* cpuinfo_cores;
/external/cpuinfo/tools/
Dcpu-info.c258 const struct cpuinfo_core* core = cpuinfo_get_core(i); in main()
/external/XNNPACK/third_party/
Dcpuinfo.patch227 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void);
/external/XNNPACK/cmake/
Dcpuinfo.patch227 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void);