Fix metric scope in likwid configuration script

This commit is contained in:
Thomas Roehl
2022-02-22 17:46:17 +01:00
parent 9cfbe10247
commit 6b6566b0aa

View File

@@ -39,7 +39,7 @@ def group_to_json(groupfile):
llist = re.split("\s+", line)
calc = llist[-1]
metric = " ".join(llist[:-1])
scope = "hwthread"
scope = "cpu"
if "BOX" in calc:
scope = "socket"
if "PWR" in calc: