Update likwid_perfgroup_to_cc_config.py

This commit is contained in:
Thomas Gruber 2023-01-26 10:21:45 +07:00 committed by GitHub
parent 84e019c693
commit abd49a377c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ def group_to_json(groupfile):
if "PWR" in calc: if "PWR" in calc:
scope = "socket" scope = "socket"
m = {"name" : metric, "calc": calc, "scope" : scope, "publish" : True} m = {"name" : metric, "calc": calc, "type" : scope, "publish" : True}
metrics.append(m) metrics.append(m)
return {"events" : events, "metrics" : metrics} return {"events" : events, "metrics" : metrics}