stats: improve cpu load meassurements
authorStefan Sauer <ensonic@users.sf.net>
Mon, 28 Jul 2014 20:08:49 +0000 (22:08 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 5 Oct 2015 18:59:39 +0000 (20:59 +0200)
commitc13ee1f2e9b44fac5facfdb09d6ae08207d16d35
tree08ce12cc69b37c5054c7ccc62661a6a5984e882a
parentc500372f5ae80abdb791e5c347b21470edc1822f
stats: improve cpu load meassurements

Rename variables for clarity. Handle the initial disparity between debug time
and the time already spent in the proc and main thread.
plugins/tracers/gstrusage.c
tools/gst-stats.c