Lines Matching refs:experiment
336 def __init__(self, results, email=False, experiment=None): argument
339 self.experiment = experiment
354 def FromExperiment(experiment, email=False): argument
355 results = BenchmarkResults.FromExperiment(experiment)
356 return TextResultsReport(results, email, experiment)
366 for benchmark_run in self.experiment.benchmark_runs:
382 for dut in self.experiment.machine_manager.GetMachines():
389 experiment = self.experiment
392 if experiment is not None:
393 title_contents = "Results report for '%s'" % (experiment.name,)
405 if experiment is not None:
414 if experiment is not None:
415 experiment_file = experiment.experiment_file
418 cpu_info = experiment.machine_manager.GetAllCPUInfo(experiment.labels)
422 experiment.start_time) if experiment.start_time else 0
482 def __init__(self, benchmark_results, experiment=None): argument
484 self.experiment = experiment
487 def FromExperiment(experiment): argument
489 BenchmarkResults.FromExperiment(experiment), experiment=experiment)
507 if self.experiment is not None:
508 experiment_file = self.experiment.experiment_file
619 def _ExperimentToKeyvals(experiment, for_json_report): argument
622 experiment.benchmark_runs, experiment.labels, json_report=for_json_report)
653 def FromExperiment(experiment, for_json_report=False): argument
654 label_names = [label.name for label in experiment.labels]
656 for benchmark in experiment.benchmarks]
657 run_keyvals = _ExperimentToKeyvals(experiment, for_json_report)
658 ignore_min_max = experiment.ignore_min_max
660 experiment.results_directory)
661 cwp_dso = experiment.cwp_dso
663 for benchmark in experiment.benchmarks]
692 experiment=None, argument
711 self.experiment = experiment
720 def FromExperiment(experiment, argument
725 experiment, for_json_report=True)
727 experiment, json_args)
788 if self.experiment is not None:
794 board = self.experiment.labels[0].board
795 manager = self.experiment.machine_manager
798 label = _GetElemByName(label_name, self.experiment.labels)