remove dynamic allocation of cpu usage arrays: overly complex
remove getBar(): unused
fixbug inserted by commit 622ef805
fix pedantic warning