On 2015-02-23 17:04, Thomas Monjalon wrote: >>> Do you mean that you plan to add some features to this library? >>> > >Is it going to stay at providing some stats or could you make some >>> > >actions >>> > >like time-sharing helpers? >> >What do you mean here saying time-sharing? > I mean helpers to stop processing at a defined rate in order to share CPU. >
I am not sure if are talking about the same but this is already present by period field in struct rte_headroom_job (or whatever it will be called in next version). This field is a hint for application and allow execute jobs when needed. If application decide that there is no time to execute some jobs it can skip it but it is up to application decision. The job stats + period hint and ability to skip or invoke jobs at any point and even dynamically decide if this part of code is now considered a job is the added value of this library. Every above thing separately have limited usage. -- Pawel