feat: support cpuUnused / pgUnused for easier cpu statistics (#4)

This commit is contained in:
Patric Stout
2023-11-13 22:57:37 +01:00
committed by GitHub
parent 1a52874367
commit b8eb7e287d

View File

@@ -92,8 +92,10 @@ def convert_dogma_attributes(path):
add_esf_attribute(-1, "alignTime")
add_esf_attribute(-2, "scanStrength")
add_esf_attribute(-3, "cpuUsage")
add_esf_attribute(-4, "powerUsage")
add_esf_attribute(-3, "cpuUsed")
add_esf_attribute(-4, "powerUsed")
add_esf_attribute(-5, "cpuUnused")
add_esf_attribute(-6, "powerUnused")
with open("dist/dogmaAttributes.pb2", "wb") as fp:
fp.write(pb2.SerializeToString())