From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] examples/ip_pipeline: CPU utilization measurement and display Date: Mon, 07 Mar 2016 12:33:56 +0100 Message-ID: <2152992.B2xTvfyGUx@xps13> References: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> <2247891.YdKobRMisS@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Pawel Wodkowski To: Fan Zhang Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id F1EB72986 for ; Mon, 7 Mar 2016 12:35:33 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id l68so104300758wml.0 for ; Mon, 07 Mar 2016 03:35:33 -0800 (PST) In-Reply-To: <2247891.YdKobRMisS@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-07 12:31, Thomas Monjalon: > 2016-02-22 14:07, Fan Zhang: > > This patch adds CPU utilization measurement and idle cycle rate > > computation to packet framework. The measurement is done by measuring > > the cycles spent while a thread pulls zero packet from RX queue. These > > cycles are treated as idle cycles (or headroom). A CLI command is added > > to display idle cycle rate of specific thread. The CLI command format is > > shown as following: > > > > t headroom > > > > Signed-off-by: Fan Zhang > > Acked-by: Cristian Dumitrescu > > Applied, thanks Question: Would you be helped by librte_jobstats?