Home
last modified time | relevance | path

Searched refs:cache_type (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/resctrl/
Dresctrl.h109 int get_cbm_mask(char *cache_type, char *cbm_mask);
110 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size);
114 int cat_perf_miss_val(int cpu_no, int no_of_bits, char *cache_type);
Dcat_test.c101 int cat_perf_miss_val(int cpu_no, int n, char *cache_type) in cat_perf_miss_val() argument
115 ret = get_cbm_mask(cache_type, cbm_mask); in cat_perf_miss_val()
122 ret = get_cache_size(cpu_no, cache_type, &cache_size); in cat_perf_miss_val()
Dresctrlfs.c141 int get_cache_size(int cpu_no, char *cache_type, unsigned long *cache_size) in get_cache_size() argument
147 if (!strcmp(cache_type, "L3")) { in get_cache_size()
149 } else if (!strcmp(cache_type, "L2")) { in get_cache_size()
205 int get_cbm_mask(char *cache_type, char *cbm_mask) in get_cbm_mask() argument
213 sprintf(cbm_mask_path, "%s/%s/cbm_mask", CBM_MASK_PATH, cache_type); in get_cbm_mask()
/tools/perf/util/
Dparse-events.c481 int cache_type = -1, cache_op = -1, cache_result = -1; in parse_events_add_cache() local
490 cache_type = parse_aliases(type, evsel__hw_cache, PERF_COUNT_HW_CACHE_MAX); in parse_events_add_cache()
491 if (cache_type == -1) in parse_events_add_cache()
506 if (!evsel__is_cache_op_valid(cache_type, cache_op)) in parse_events_add_cache()
533 attr.config = cache_type | (cache_op << 8) | (cache_result << 16); in parse_events_add_cache()
/tools/arch/x86/kcpuid/
Dcpuid.csv92 4, 0, EAX, 4:0, cache_type, Cache type like instr/data or unified