From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=WheuCHgKH4K9k6e2XyLzsm4crgBLgM1vCg61bcvlBv4=; b=cLGcHYQBRJMZVQcFd7DXHEwc/1TRgRQhFRHPBpAaM4Zp0TahfDUnGXx3idlPScJ6ni odCQOs+KoJQFvm2zxoKG0WrZV2d1Dqec1rWaltpWQrTy3B5OqVC3tJMSQdfTGf2CUFN0 TRbliZjvGwM/T7rzmKs9PA6DPYswFJmjpwSKl7JXgVa7r+maxP9TKvSNH5+JZ+8rhJjx 3SIun9H26xvjNKYpGuYx+5PejzSUoJfgOMuTP1X9VG6jG2zTLVWtBY8ecztMSe8l5Gj0 FjAx+xi7dIo7Vv8SN/hGcjl7upPc7JleuxX/U6h4ZeAyL/Ehm3+tH/RpGIqB/VyWRZJt 5CwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=WheuCHgKH4K9k6e2XyLzsm4crgBLgM1vCg61bcvlBv4=; b=mktHrWygZO9mZ2iXDSF/p6Po9DBUMiE1DACQXxfoiRVOxGHpvEaqEq3dPFSnqXfa6Y drYS6cG+Y2x7M4dIN4BggxSzI8WoRtHvwMc3rPTEBvQPSTq02ZXqSK9OSp+6us8H+wUD mTpnvHjj/DVxvvfaLxGISsQRG1u3g0hWFG2My+hH6B9LT7oGIfX+nMH4sBZjodRQwyVU cBt+ns6CdnCNWXDjfogJnPKmyd5h9+g12TSjkGQRNqZkHJuL864gk2QDLjzpk+osnbHa Tuf38R4+JDpx7s19h7URdV8cSvM8tmp9h6V98BiVgQ3wkHHylWDMpqh5h0vXOSQQBdrl r90w== X-Gm-Message-State: AD7BkJJ91Qr1AW/PXFr4AiZylc91nOZzxTAsBX38Jf862KOsQgQQBQUXtvd5BjZtHtCbLDw0 X-Received: by 10.28.103.3 with SMTP id b3mr11718603wmc.65.1457350533817; Mon, 07 Mar 2016 03:35:33 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id r62sm13307255wmd.15.2016.03.07.03.35.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2016 03:35:33 -0800 (PST) From: Thomas Monjalon To: Fan Zhang Date: Mon, 07 Mar 2016 12:33:56 +0100 Message-ID: <2152992.B2xTvfyGUx@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <2247891.YdKobRMisS@xps13> References: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> <2247891.YdKobRMisS@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Pawel Wodkowski Subject: Re: [dpdk-dev] [PATCH v2] examples/ip_pipeline: CPU utilization measurement and display X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 11:35:34 -0000 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?