From b8eb7e287dac1a1a265e6380bd063202ef532ef0 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Mon, 13 Nov 2023 22:57:37 +0100 Subject: [PATCH] feat: support cpuUnused / pgUnused for easier cpu statistics (#4) --- convert.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/convert.py b/convert.py index c7563f0..b01c597 100644 --- a/convert.py +++ b/convert.py @@ -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())