Commit 9a2661c4 authored by Mario Hock's avatar Mario Hock

Fix +/-1 bug in CSV header (one CPU was missing)

parent 9f9c5d5c
......@@ -65,7 +65,7 @@ class MeasurementLogger:
# set up "CPU" class
cpu = LoggingClass( name = "CPU",
fields = ("usr", "system", "softirq", "other", "idle"),
siblings = [ "CPU" + str(i) for i in range(1,num_cpus) ],
siblings = [ "CPU" + str(i) for i in range(1,num_cpus+1) ],
description = "CPU utilization in percent" )
class_defs["CPU"] = cpu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment