Searched refs:cpuinfo_core (Results 1 – 16 of 16) sorted by relevance
/external/cpuinfo/test/ |
D | get-current.cc | 31 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()
|
D | init.cc | 31 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/ |
D | current.c | 16 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()
|
D | api.h | 59 extern CPUINFO_INTERNAL const struct cpuinfo_core** cpuinfo_linux_cpu_to_core_map;
|
/external/cpuinfo/src/ |
D | api.c | 11 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/ |
D | init.c | 93 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/ |
D | init.c | 147 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/ |
D | init.c | 107 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/ |
D | cpuinfo.h | 503 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/ |
D | init.c | 22 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/ |
D | init.c | 244 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/ |
D | get-current.cc | 18 const cpuinfo_core* current_core = cpuinfo_get_current_core(); in cpuinfo_get_current_core()
|
/external/cpuinfo/src/cpuinfo/ |
D | internal-api.h | 25 extern CPUINFO_INTERNAL struct cpuinfo_core* cpuinfo_cores;
|
/external/cpuinfo/tools/ |
D | cpu-info.c | 258 const struct cpuinfo_core* core = cpuinfo_get_core(i); in main()
|
/external/XNNPACK/third_party/ |
D | cpuinfo.patch | 227 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void);
|
/external/XNNPACK/cmake/ |
D | cpuinfo.patch | 227 const struct cpuinfo_core* CPUINFO_ABI cpuinfo_get_current_core(void);
|