(
self,
profile_kernel=False,
benchmark_framework="megcc",
model=None,
output_dir=None,
)
| 57 | subprocess.check_call(cmd, shell=True) |
| 58 | |
| 59 | def set_config( |
| 60 | self, |
| 61 | profile_kernel=False, |
| 62 | benchmark_framework="megcc", |
| 63 | model=None, |
| 64 | output_dir=None, |
| 65 | ): |
| 66 | if profile_kernel: |
| 67 | self.log_level = 0 |
| 68 | else: |
| 69 | self.log_level = 3 |
| 70 | self.benchmark_framework = benchmark_framework |
| 71 | self.output_dir = output_dir |
| 72 | self.model = model |
| 73 | self.benchmark_exec_func = "{}/install/bin/benchmarker".format( |
| 74 | self.benchmark_build_dir) |
| 75 | |
| 76 | def run_local(self): |
| 77 | if not os.path.exists(self.output_dir.local_path) or os.path.isfile( |
no outgoing calls
no test coverage detected