Skip to content
Snippets Groups Projects

Testbench throughput and profiling updates

Merged Andre Gunther requested to merge gunther-throughput-test into 2024-patches
@@ -228,16 +228,16 @@ class Task:
raise RuntimeError("use_perf() must be called before load()")
if shutil.which("perf") is not None:
self._perf_data = Path(f"{self.utgid}.perf.data").absolute()
if control:
self._perf_control = Path("perf_control.fifo").absolute()
try:
os.mkfifo(self._perf_control)
except FileExistsError:
pass
else:
log.warning(
"Requested to run perf but no executable found. Continuing without profiling."
)
if control:
self._perf_control = Path("perf_control.fifo").absolute()
try:
os.mkfifo(self._perf_control)
except FileExistsError:
pass
async def __aenter__(self):
pass
Loading