rusage: improve cpu load meassurements
authorStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 11:02:51 +0000 (13:02 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 5 Oct 2015 18:59:39 +0000 (20:59 +0200)
commit3baaa4ba6f09c7de21342c46ac0a14a6d6ff05f3
tree5ea5444266cacee003ba76e781fd6a21b151a6af
parent2ef32c88404c48681c4e1d7691f8563c02fb94ed
rusage: improve cpu load meassurements

Get the number of cpus and scale process cpu-load accordingly. Switch the
cpuload to be per-mille to get smoother graphs. Add a bit more logging and use
the _OBJECT variant.
plugins/tracers/gstrusage.c