Searched refs:cache_size (Results 1 – 4 of 4) sorted by relevance
| /tools/testing/selftests/resctrl/ |
| A D | resctrl.h | 200 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size); 225 static inline unsigned long cache_portion_size(unsigned long cache_size, in cache_portion_size() argument 236 return cache_size; in cache_portion_size() 238 return cache_size * count_bits(portion_mask) / bits; in cache_portion_size()
|
| A D | resctrlfs.c | 261 int get_cache_size(int cpu_no, const char *cache_type, unsigned long *cache_size) in get_cache_size() argument 289 *cache_size = 0; in get_cache_size() 294 *cache_size = *cache_size * 10 + (cache_str[i] - '0'); in get_cache_size() 298 *cache_size = *cache_size * 1024; in get_cache_size() 302 *cache_size = *cache_size * 1024 * 1024; in get_cache_size() 318 *cache_size /= snc_nodes_per_l3_cache(); in get_cache_size()
|
| /tools/perf/scripts/python/ |
| A D | arm-cs-trace-disasm.py | 88 cache_size = 64*1024 variable 150 if (len(disasm_cache) > cache_size): 241 global cache_size
|
| /tools/perf/util/ |
| A D | dso.c | 964 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy() local 967 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy() 969 memcpy(cache->data + cache_offset, data, cache_size); in dso_cache__memcpy() 970 return cache_size; in dso_cache__memcpy()
|
Completed in 13 milliseconds