examples/l3fwd-power: fix busyness number
authorDavid Hunt <david.hunt@intel.com>
Mon, 15 Jul 2019 14:07:04 +0000 (15:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jul 2019 20:53:28 +0000 (22:53 +0200)
commitb55d8fec46ce1f2a152f3687abb3222f675ce73e
treeb370033f40ec57be4b56666f1a52998818ddb4e0
parentacc6e5503e058553d668bc8f21038275aa3fa2e2
examples/l3fwd-power: fix busyness number

Current implementation only outputs 3 numbers for busyness, 0, 50 and 100.
Fix this so that the 50% is replaced by a curve, more meaningful.
This can be replaced in each use case by a suitable calculation for
that use case.

Fixes: 609e79841fcf ("examples/l3fwd-power: add telemetry mode")

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
examples/l3fwd-power/main.c