Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/resctrl/
Dcmt_test.c75 unsigned long cache_size = 0; in cmt_resctrl_val() local
89 ret = get_cache_size(cpu_no, "L3", &cache_size); in cmt_resctrl_val()
92 ksft_print_msg("Cache size :%lu\n", cache_size); in cmt_resctrl_val()
113 span = cache_size * n / count_of_bits; in cmt_resctrl_val()
Dcat_test.c94 unsigned long cache_size = 0; in cat_perf_miss_val() local
109 ret = get_cache_size(cpu_no, cache_type, &cache_size); in cat_perf_miss_val()
112 ksft_print_msg("Cache size :%lu\n", cache_size); in cat_perf_miss_val()
144 span = cache_size * (count_of_bits - n) / count_of_bits; in cat_perf_miss_val()
166 span = cache_size * n / count_of_bits; in cat_perf_miss_val()
Dresctrlfs.c140 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size) in get_cache_size() argument
173 *cache_size = 0; in get_cache_size()
178 *cache_size = *cache_size * 10 + (cache_str[i] - '0'); in get_cache_size()
182 *cache_size = *cache_size * 1024; in get_cache_size()
186 *cache_size = *cache_size * 1024 * 1024; in get_cache_size()
Dfill_buf.c169 size_t cache_size = span; in run_fill_buf() local
172 ret = fill_cache(cache_size, memflush, op, once); in run_fill_buf()
Dresctrl.h102 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size);
/tools/perf/scripts/python/
Darm-cs-trace-disasm.py50 cache_size = 64*1024 variable
87 if (len(disasm_cache) > cache_size):
178 global cache_size
/tools/perf/util/
Ddso.c916 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy() local
919 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy()
921 memcpy(cache->data + cache_offset, data, cache_size); in dso_cache__memcpy()
922 return cache_size; in dso_cache__memcpy()