Report aligned per-second CPU power requests latency and errors

This commit is contained in:
Steffen committed 2026-10-08 12:59:43 +02:00
1 parent 17f3b0dbd3
commit 743674a022
5 files changed
+201

No files matched your search

+7
View File
@@ -132,4 +132,11 @@ if not a.no_shelly:
metadata['power_error']=str(error);print('Invalid power measurement:',error);code=1
metadata['exit_code']=code
(out/'run.json').write_text(json.dumps(metadata,indent=2))
if (out/'timeline.json').exists():
try:
from report import build
build(out)
except Exception as error:
print('Graph generation failed; raw measurements are preserved:',error)
metadata['report_error']=str(error);(out/'run.json').write_text(json.dumps(metadata,indent=2))
raise SystemExit(code)