First plot script

This commit is contained in:
2024-02-26 19:19:14 +01:00
committed by Derek Christ
parent 2212a03ae4
commit da29aa865b
4 changed files with 80 additions and 15 deletions

View File

@@ -4,7 +4,10 @@ from pathlib import Path
@dataclass(frozen=True)
class Configuration:
name: str
workload: Path
workload: str
executable: Path
pim: bool
level: str
frequency: str = "3GHz"
@dataclass(frozen=True)

View File

@@ -57,7 +57,7 @@ for core in processor.get_cores():
workload = CustomWorkload(
"set_baremetal_workload",
{
"kernel": BinaryResource(configuration.workload),
"kernel": BinaryResource(configuration.executable),
},
)
board.set_workload(workload)