From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pawel Wodkowski Subject: Re: [PATCH v5 0/3] new headroom stats library and example application Date: Tue, 24 Feb 2015 09:44:20 +0100 Message-ID: <54EC39E4.5000105@intel.com> References: <1424191340-26451-1-git-send-email-pawelx.wodkowski@intel.com> <2047616.cJycthpmiM@xps13> <60ABE07DBB3A454EB7FAD707B4BB1582138EBA65@IRSMSX109.ger.corp.intel.com> <3535884.xqQnaaGjuq@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon , "Jastrzebski, MichalX K" Return-path: In-Reply-To: <3535884.xqQnaaGjuq@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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