Code

Add ReportByCpu and ValuesPercentage for cpu plugin
authorPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 15 Jan 2014 20:26:19 +0000 (21:26 +0100)
committerPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 15 Jan 2014 20:26:19 +0000 (21:26 +0100)
commitfdfc8dc0e165088350f7c92972234cea142cd131
tree0bdbc6643090a1a2ec831fcaec6c49987d851083
parent3c7af521c4551c78e9139b9ac8b2d56f693fb2f8
Add ReportByCpu and ValuesPercentage for cpu plugin

ReportByCpu defaults to true, ValuesPercentage to false

This enables the following use cases:

- ReportByCpu false: emits normalized percentage values
- ValuesPercentage true: emits percentage values
- default: send per core ticks, as previously
src/cpu.c