From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH v10 0/7] Expanded statistics reporting Date: Thu, 23 Feb 2017 07:09:13 +0000 Message-ID: References: <1486118019-2280-1-git-send-email-remy.horton@intel.com> <2924793.QDCoddA1K3@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C5F962BAA for ; Thu, 23 Feb 2017 08:09:16 +0100 (CET) In-Reply-To: <2924793.QDCoddA1K3@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 16/02/2017 10:53, Thomas Monjalon wrote: > 2017-02-03 10:33, Remy Horton: [..] > I think there are three remaining questions: > - When the metrics computation are done? (in which thread?) Actual calculation is not done by libmetrics itself - it only handles distribution. Calculation is done prior to the calculated values being passed to rte_metrics_update_value*(), so the thread that does the calculation is a decision for the application. > - May the few lines of computation code be done differently when tightly > integrated in an application logic? Yes, since it is the application itself (or in the case of bit-rate, a separate library) that does the calculation. > - Could it be hosted in a separate repository on dpdk.org? > That's part of a broader discussion on how DPDK is packaged.