Lines Matching refs:bm_pid
467 pid_t bm_pid, ppid; variable
471 kill(bm_pid, SIGKILL); in ctrlc_handler()
488 static int print_results_bw(char *filename, int bm_pid, float bw_imc, in print_results_bw() argument
495 printf("Pid: %d \t Mem_BW_iMC: %f \t ", bm_pid, bw_imc); in print_results_bw()
505 bm_pid, bw_imc, bw_resc, diff) <= 0) { in print_results_bw()
576 ret = print_results_bw(param->filename, bm_pid, bw_imc, bw_resc); in measure_vals()
632 bm_pid = fork(); in resctrl_val()
633 if (bm_pid == -1) { in resctrl_val()
639 if (bm_pid == 0) { in resctrl_val()
671 ksft_print_msg("Benchmark PID: %d\n", bm_pid); in resctrl_val()
690 ret = taskset_benchmark(bm_pid, param->cpu_no); in resctrl_val()
695 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in resctrl_val()
725 if (sigqueue(bm_pid, SIGUSR1, value) == -1) { in resctrl_val()
751 ret = measure_cache_vals(param, bm_pid); in resctrl_val()
758 kill(bm_pid, SIGKILL); in resctrl_val()