Home
last modified time | relevance | path

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

/external/cpuinfo/test/
Darm-cache.cc18 struct cpuinfo_cache l1i = { 0 }; in TEST()
19 struct cpuinfo_cache l1d = { 0 }; in TEST()
20 struct cpuinfo_cache l2 = { 0 }; in TEST()
21 struct cpuinfo_cache l3 = { 0 }; in TEST()
39 struct cpuinfo_cache l1i = { 0 }; in TEST()
40 struct cpuinfo_cache l1d = { 0 }; in TEST()
41 struct cpuinfo_cache l2 = { 0 }; in TEST()
42 struct cpuinfo_cache l3 = { 0 }; in TEST()
61 struct cpuinfo_cache l1i = { 0 }; in TEST()
62 struct cpuinfo_cache l1d = { 0 }; in TEST()
[all …]
Dinit.cc119 const cpuinfo_cache* l1i = processor->cache.l1i; in TEST()
133 const cpuinfo_cache* l1d = processor->cache.l1d; in TEST()
147 const cpuinfo_cache* l2 = processor->cache.l2; in TEST()
161 const cpuinfo_cache* l3 = processor->cache.l3; in TEST()
175 const cpuinfo_cache* l4 = processor->cache.l4; in TEST()
771 const cpuinfo_cache* cache = cpuinfo_get_l1i_cache(i); in TEST()
782 const cpuinfo_cache* cache = cpuinfo_get_l1i_cache(i); in TEST()
794 const cpuinfo_cache* cache = cpuinfo_get_l1i_cache(i); in TEST()
805 const cpuinfo_cache* cache = cpuinfo_get_l1i_cache(i); in TEST()
816 const cpuinfo_cache* cache = cpuinfo_get_l1i_cache(i); in TEST()
[all …]
/external/cpuinfo/src/arm/
Dcache.c17 struct cpuinfo_cache l1i[restrict static 1], in cpuinfo_arm_decode_cache()
18 struct cpuinfo_cache l1d[restrict static 1], in cpuinfo_arm_decode_cache()
19 struct cpuinfo_cache l2[restrict static 1], in cpuinfo_arm_decode_cache()
20 struct cpuinfo_cache l3[restrict static 1]) in cpuinfo_arm_decode_cache()
33 *l1i = (struct cpuinfo_cache) { in cpuinfo_arm_decode_cache()
38 *l1d = (struct cpuinfo_cache) { in cpuinfo_arm_decode_cache()
46 *l1i = (struct cpuinfo_cache) { in cpuinfo_arm_decode_cache()
51 *l1d = (struct cpuinfo_cache) { in cpuinfo_arm_decode_cache()
63 *l1i = (struct cpuinfo_cache) { in cpuinfo_arm_decode_cache()
68 *l1d = (struct cpuinfo_cache) { in cpuinfo_arm_decode_cache()
[all …]
Dapi.h103 struct cpuinfo_cache l1i[restrict static 1],
104 struct cpuinfo_cache l1d[restrict static 1],
105 struct cpuinfo_cache l2[restrict static 1],
106 struct cpuinfo_cache l3[restrict static 1]);
118 struct cpuinfo_cache l1i[1],
119 struct cpuinfo_cache l1d[1],
120 struct cpuinfo_cache l2[1],
121 struct cpuinfo_cache l3[1]);
/external/cpuinfo/src/
Dapi.c24 struct cpuinfo_cache* cpuinfo_cache[cpuinfo_cache_level_max] = { NULL }; variable
185 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l1i_caches(void) { in cpuinfo_get_l1i_caches()
189 return cpuinfo_cache[cpuinfo_cache_level_1i]; in cpuinfo_get_l1i_caches()
192 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l1d_caches(void) { in cpuinfo_get_l1d_caches()
196 return cpuinfo_cache[cpuinfo_cache_level_1d]; in cpuinfo_get_l1d_caches()
199 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l2_caches(void) { in cpuinfo_get_l2_caches()
203 return cpuinfo_cache[cpuinfo_cache_level_2]; in cpuinfo_get_l2_caches()
206 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l3_caches(void) { in cpuinfo_get_l3_caches()
210 return cpuinfo_cache[cpuinfo_cache_level_3]; in cpuinfo_get_l3_caches()
213 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l4_caches(void) { in cpuinfo_get_l4_caches()
[all …]
/external/cpuinfo/src/emscripten/
Dinit.c18 static struct cpuinfo_cache static_x86_l3 = {
30 struct cpuinfo_cache* l1i = NULL; in cpuinfo_emscripten_init()
31 struct cpuinfo_cache* l1d = NULL; in cpuinfo_emscripten_init()
32 struct cpuinfo_cache* l2 = NULL; in cpuinfo_emscripten_init()
80 l1i = calloc(core_count, sizeof(struct cpuinfo_cache)); in cpuinfo_emscripten_init()
83 core_count * sizeof(struct cpuinfo_cache), core_count); in cpuinfo_emscripten_init()
87 l1d = calloc(core_count, sizeof(struct cpuinfo_cache)); in cpuinfo_emscripten_init()
90 core_count * sizeof(struct cpuinfo_cache), core_count); in cpuinfo_emscripten_init()
94 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_emscripten_init()
97 l2_count * sizeof(struct cpuinfo_cache), l2_count); in cpuinfo_emscripten_init()
[all …]
/external/cpuinfo/src/x86/mach/
Dinit.c25 struct cpuinfo_cache* l1i = NULL; in cpuinfo_x86_mach_init()
26 struct cpuinfo_cache* l1d = NULL; in cpuinfo_x86_mach_init()
27 struct cpuinfo_cache* l2 = NULL; in cpuinfo_x86_mach_init()
28 struct cpuinfo_cache* l3 = NULL; in cpuinfo_x86_mach_init()
29 struct cpuinfo_cache* l4 = NULL; in cpuinfo_x86_mach_init()
188 l1i = calloc(l1_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_mach_init()
191 l1_count * sizeof(struct cpuinfo_cache), l1_count); in cpuinfo_x86_mach_init()
195 l1i[c] = (struct cpuinfo_cache) { in cpuinfo_x86_mach_init()
212 l1d = calloc(l1_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_mach_init()
215 l1_count * sizeof(struct cpuinfo_cache), l1_count); in cpuinfo_x86_mach_init()
[all …]
/external/cpuinfo/src/arm/mach/
Dinit.c261 struct cpuinfo_cache* l1i = NULL; in cpuinfo_arm_mach_init()
262 struct cpuinfo_cache* l1d = NULL; in cpuinfo_arm_mach_init()
263 struct cpuinfo_cache* l2 = NULL; in cpuinfo_arm_mach_init()
264 struct cpuinfo_cache* l3 = NULL; in cpuinfo_arm_mach_init()
481 l1i = calloc(l1_count, sizeof(struct cpuinfo_cache)); in cpuinfo_arm_mach_init()
484 l1_count * sizeof(struct cpuinfo_cache), l1_count); in cpuinfo_arm_mach_init()
488 l1i[c] = (struct cpuinfo_cache) { in cpuinfo_arm_mach_init()
505 l1d = calloc(l1_count, sizeof(struct cpuinfo_cache)); in cpuinfo_arm_mach_init()
508 l1_count * sizeof(struct cpuinfo_cache), l1_count); in cpuinfo_arm_mach_init()
512 l1d[c] = (struct cpuinfo_cache) { in cpuinfo_arm_mach_init()
[all …]
/external/cpuinfo/src/x86/linux/
Dinit.c152 struct cpuinfo_cache* l1i = NULL; in cpuinfo_x86_linux_init()
153 struct cpuinfo_cache* l1d = NULL; in cpuinfo_x86_linux_init()
154 struct cpuinfo_cache* l2 = NULL; in cpuinfo_x86_linux_init()
155 struct cpuinfo_cache* l3 = NULL; in cpuinfo_x86_linux_init()
156 struct cpuinfo_cache* l4 = NULL; in cpuinfo_x86_linux_init()
302 l1i = calloc(l1i_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
305 l1i_count * sizeof(struct cpuinfo_cache), l1i_count); in cpuinfo_x86_linux_init()
310 l1d = calloc(l1d_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
313 l1d_count * sizeof(struct cpuinfo_cache), l1d_count); in cpuinfo_x86_linux_init()
318 l2 = calloc(l2_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
[all …]
/external/cpuinfo/src/x86/windows/
Dinit.c112 struct cpuinfo_cache* l1i = NULL; in cpuinfo_x86_windows_init()
113 struct cpuinfo_cache* l1d = NULL; in cpuinfo_x86_windows_init()
114 struct cpuinfo_cache* l2 = NULL; in cpuinfo_x86_windows_init()
115 struct cpuinfo_cache* l3 = NULL; in cpuinfo_x86_windows_init()
116 struct cpuinfo_cache* l4 = NULL; in cpuinfo_x86_windows_init()
391 l1i = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1i_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
394 l1i_count * sizeof(struct cpuinfo_cache), l1i_count); in cpuinfo_x86_windows_init()
399 l1d = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1d_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
402 l1d_count * sizeof(struct cpuinfo_cache), l1d_count); in cpuinfo_x86_windows_init()
407 l2 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l2_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
[all …]
/external/cpuinfo/src/arm/linux/
Dinit.c110 struct cpuinfo_cache* l1i = NULL; in cpuinfo_arm_linux_init()
111 struct cpuinfo_cache* l1d = NULL; in cpuinfo_arm_linux_init()
112 struct cpuinfo_cache* l2 = NULL; in cpuinfo_arm_linux_init()
113 struct cpuinfo_cache* l3 = NULL; in cpuinfo_arm_linux_init()
480 l1i = calloc(valid_processors, sizeof(struct cpuinfo_cache)); in cpuinfo_arm_linux_init()
483 valid_processors * sizeof(struct cpuinfo_cache), valid_processors); in cpuinfo_arm_linux_init()
487 l1d = calloc(valid_processors, sizeof(struct cpuinfo_cache)); in cpuinfo_arm_linux_init()
490 valid_processors * sizeof(struct cpuinfo_cache), valid_processors); in cpuinfo_arm_linux_init()
554 struct cpuinfo_cache temp_l2 = { 0 }, temp_l3 = { 0 }; in cpuinfo_arm_linux_init()
568 l1i[i] = (struct cpuinfo_cache) { in cpuinfo_arm_linux_init()
[all …]
/external/cpuinfo/include/
Dcpuinfo.h95 struct cpuinfo_cache { struct
552 const struct cpuinfo_cache* l1i;
554 const struct cpuinfo_cache* l1d;
556 const struct cpuinfo_cache* l2;
558 const struct cpuinfo_cache* l3;
560 const struct cpuinfo_cache* l4;
1801 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l1i_caches(void);
1802 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l1d_caches(void);
1803 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l2_caches(void);
1804 const struct cpuinfo_cache* CPUINFO_ABI cpuinfo_get_l3_caches(void);
[all …]
/external/cpuinfo/src/cpuinfo/
Dinternal-api.h29 extern CPUINFO_INTERNAL struct cpuinfo_cache* cpuinfo_cache[cpuinfo_cache_level_max];
/external/cpuinfo/tools/
Dcache-info.c9 uint32_t count, const struct cpuinfo_cache* cache, in report_cache()
/external/ruy/ruy/
Dcpuinfo.cc53 for (const cpuinfo_cache* cache : in QueryCacheParams()
/external/cpuinfo/
DREADME.md96 const struct cpuinfo_cache* current_l2 = cpuinfo_get_current_processor()->cache.l2;