cpu usage measurement--taking cue from iperf formula