From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C4001B3D9 for ; Wed, 27 Jan 2016 18:37:03 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 27 Jan 2016 09:37:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,355,1449561600"; d="scan'208";a="890372793" Received: from sie-lab-212-033.ir.intel.com (HELO silpixa00383881.ir.intel.com) ([10.237.212.33]) by fmsmga001.fm.intel.com with ESMTP; 27 Jan 2016 09:37:01 -0800 From: Fan Zhang To: dev@dpdk.org Date: Wed, 27 Jan 2016 17:36:57 +0000 Message-Id: <1453916219-26656-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH 0/2] Add CPU utilization to packet framework 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: Wed, 27 Jan 2016 17:37:04 -0000 This patchset adds CPU utilization rate computation and CLI command support to packet framework. The thread idle rate is updated once per second. User can use thread CLI command to display it. Fan Zhang (2): examples/ip_pipeline: CPU utilization measurement and rate computation examples/ip_pipeline: add CLI command to display CPU utilization rate examples/ip_pipeline/app.h | 7 +++ examples/ip_pipeline/init.c | 5 ++ examples/ip_pipeline/thread.c | 81 +++++++++++++++++++++++++++- examples/ip_pipeline/thread.h | 13 +++++ examples/ip_pipeline/thread_fe.c | 114 +++++++++++++++++++++++++++++++++++++++ examples/ip_pipeline/thread_fe.h | 6 +++ 6 files changed, 224 insertions(+), 2 deletions(-) -- 2.5.0