Create per-node global definitions for utilization variables. This enables the tracking to more cleanly work on SMP configurations. As resetting and starting the counters via SysBenchmarkResetLog only updates the counters of the current thread and idle thread on the current node it was not possible to accurately record utilization statistics across multiple nodes. Now each node can have its tracking independently started, stopped and queried. It is possible to add additional syscalls in the future for doing this for all nodes in a single syscall. Signed-off-by: Kent McLeod <Kent.Mcleod@data61.csiro.au> |
||
|---|---|---|
| .. | ||
| arm | ||
| riscv/arch | ||
| x86/arch | ||