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 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) 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=MaxGB9Wln2gkwj96IhpG9y2IxkGFaJnHzp7G1aiXqN4=; b=IYEsuwoG56URoyEkoU38AE0mI5BsH4TouEKFKna/MAfnia6kkzAxzmlCLPMR1K+lgM P+uXuD6hlZmXp5X5GYBUkFqeNTKTPz8FhcoCrrOo5vmzEblFVxuAXoE1YvIzvOn5Tc+C 1GLWS0X0JKaj+M1WpPM78t/C2Tfuh345E01Rdd1kq6W3F0Ftz6aMS13aF529a1X38oZs vvhWSEXDmngQP/8mBgvl8LjKUtYmn0xT8RqSeiXymy2rmsovAPcxb3CnZyghyrbzJSm9 ero/CjWsXHIsxC1XiyD5yZSSeaiXwE6xGtTp/C6yWEHRfpTYK0NoV+mhQYqZiHjC1hzL 0shw== 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=MaxGB9Wln2gkwj96IhpG9y2IxkGFaJnHzp7G1aiXqN4=; b=M4uv5FHe7cdFgnswI4cczKyvR6vpe9vl/Scwz55f0ka+B4/gzia4lbmEX7LwNfk1i1 wQ7DKTEqXfyKZ403iw2xCRo4LqErI6WDfR7BSWSy/WE4ILIIiu9FJHWHl+1BRLW/kYV3 cxuEjjbgQaEFTMoO1uTZTmIzC4J7evfBmT+u9r824kfBDQuz+WBZCM0LsmYKI1SgwZr3 gyQ0pKgciMGaFaO7lTyfMZyg7PI/WLOQwDBwxhMR1/3LQFeLScDh8TMIa0T5a2H7Yns7 VEPDZt0JL9gBJue1zBJpa0E2bscqdSnk2W46tBMu7v4uPtrk5IPgkF6hm55MPgHGdmYM xCtQ== X-Gm-Message-State: AD7BkJLb7vroagHmmVAn+G6N5JaJVU7cktxLJkQkmGgSN0T57j+8DXb2Jda4jDL8BxkkZGvb X-Received: by 10.194.115.132 with SMTP id jo4mr21282225wjb.156.1457350366934; Mon, 07 Mar 2016 03:32:46 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id o128sm13134635wmb.19.2016.03.07.03.32.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2016 03:32:45 -0800 (PST) From: Thomas Monjalon To: Fan Zhang Date: Mon, 07 Mar 2016 12:31:09 +0100 Message-ID: <2247891.YdKobRMisS@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> References: <1456150024-31304-1-git-send-email-roy.fan.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org 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:32:47 -0000 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