H A D | perf_metric_validation.py | 1 # SPDX-License-Identifier: GPL-2.0 11 def __init__(self, metric: list[str], wl: str, value: list[float], low: float, up=float('nan'), description=str()): argument 12 self.metric: list = metric # multiple metrics in relationship type tests 13 self.workloads = [wl] # multiple workloads possible 14 self.collectedValue: list = value 15 self.valueLowBound = low 16 self.valueUpBound = up 17 self 19 __repr__(self) global() argument 38 __init__(self, rulefname, reportfname='', t=5, debug=False, datafname='', fullrulefname='', workload='true', metrics='') global() argument 70 __set_metrics(self, metrics='') global() argument 76 read_json(self, filename: str) global() argument 86 json_dump(self, data, output_file) global() argument 97 get_results(self, idx: int = 0) global() argument 100 get_bounds(self, lb, ub, error, alias={}, ridx: int = 0) global() argument 141 get_value(self, name: str, ridx: int = 0) global() argument 161 check_bound(self, val, lb, ub, err) global() argument 165 pos_val_test(self) global() argument 203 evaluate_formula(self, formula: str, alias: dict, ridx: int = 0) global() argument 247 relationship_test(self, rule: dict) global() argument 286 single_test(self, rule: dict) global() argument 334 create_report(self) global() argument 345 check_rule(self, testtype, metric_list) global() argument 360 convert(self, data: list, metricvalues: dict) global() argument 375 _run_perf(self, metric, workload: str) global() argument 387 collect_perf(self, workload: str) global() argument 419 second_test(self, collectlist, second_results) global() argument 428 parse_perf_metrics(self) global() argument 453 remove_unsupported_rules(self, rules) global() argument 465 create_rules(self) global() argument 501 _storewldata(self, key) global() argument 511 _init_data(self) global() argument 521 test(self) global() argument [all...] |