diff --git a/SysPerfTUI/Modules/CPU.go b/SysPerfTUI/Modules/CPU.go index 67bfae0..228c310 100644 --- a/SysPerfTUI/Modules/CPU.go +++ b/SysPerfTUI/Modules/CPU.go @@ -22,6 +22,11 @@ func CoreUsageHandler(core_id int32) { log.Println(err) } globals.CpuDataBuf[core_id] = float64(result.GetCpuUsage()) + //Move all elements one possistion back and push new value to end + for i := 0;i