Lines Matching refs:bm_pid
153 static int print_results_cache(char *filename, int bm_pid, in print_results_cache() argument
159 printf("Pid: %d \t LLC_value: %lu\n", bm_pid, in print_results_cache()
168 fprintf(fp, "Pid: %d \t llc_value: %lu\n", bm_pid, llc_value); in print_results_cache()
175 int measure_cache_vals(struct resctrl_val_param *param, int bm_pid) in measure_cache_vals() argument
199 ret = print_results_cache(param->filename, bm_pid, llc_value); in measure_cache_vals()
217 pid_t bm_pid; in cat_val() local
222 bm_pid = getpid(); in cat_val()
225 ret = taskset_benchmark(bm_pid, param->cpu_no); in cat_val()
230 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in cat_val()
251 ret = reset_enable_llc_perf(bm_pid, param->cpu_no); in cat_val()
263 ret = measure_cache_vals(param, bm_pid); in cat_val()