[dpdk-dev] [PATCH v2 1/2] service: add component useful work attribute

David Marchand david.marchand at redhat.com
Mon Sep 21 16:49:27 CEST 2020


Hello Harry,

On Mon, Sep 14, 2020 at 4:36 PM Harry van Haaren
<harry.van.haaren at intel.com> wrote:
>
> This commit adds a new attribute which allows the service to indicate
> if the previous iteration of work was "useful". Useful work here implies
> forward progress was made.
>
> Exposing this information via an attribute to the application allows
> tracking of CPU cycles as being useful or not-useful, and a CPU load
> estimate can be deduced from that information.
>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>

This is missing a unit test.
Getting others' opinion on this addition would be good too.

Thanks.


-- 
David Marchand



More information about the dev mailing list