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:31:09 +0100 Message-ID: <2247891.YdKobRMisS@xps13> References: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org 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 17F111396 for ; Mon, 7 Mar 2016 12:32:47 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id p65so66786784wmp.0 for ; Mon, 07 Mar 2016 03:32:47 -0800 (PST) In-Reply-To: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> 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-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