The resulting numbers for an almost idle process is >10,000 percent, which is obviously wrong. Maybe the two time differences that are divided in the function do not have the same units?