resusage
resusage copied to clipboard
currentTotal in Windows returns CPU consumption multiplied by CPU/core count
To get a value correlated to the value returned by task manager one should divide the currentTotal result by CPU count. In linux totalCurrent returns the result that is equal to top value.