Lines Matching refs:workload
22 \tis {1} in workload(s): {2} \n\
31 \tis {1} in workload(s): {2}\n\
39 workload='true', metrics='', cputype='cpu'):
49 self.workloads = [x for x in workload.split(",") if x]
51 self.allresults = dict() # metric results of all workload
55 self.results = dict() # metric results of current workload
188 # The first round collect_perf() run these metrics with simple workload
189 # "true". We give metrics a second chance with a longer workload if less
380 def _run_perf(self, metric, workload: str):
383 wl = workload.split()
392 def collect_perf(self, workload: str):
394 Collect metric data with "perf stat -M" on given workload with -a and -j.
398 print(f"Long workload: {workload}")
416 wl = workload
425 workload = self.workloads[self.wlidx]
427 data = self._run_perf(metric, workload)
510 Store all the data of one workload into the corresponding data structure for all workloads.
517 # Initialize data structures before data validation of each workload
594 datafname=datafile, fullrulefname=fullrule, workload=args.wl,