From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9AD225A7C for ; Thu, 29 Jan 2015 12:54:06 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 29 Jan 2015 03:47:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,485,1418112000"; d="scan'208";a="677942861" Received: from unknown (HELO Sent) ([10.217.248.233]) by orsmga002.jf.intel.com with SMTP; 29 Jan 2015 03:54:03 -0800 Received: by Sent (sSMTP sendmail emulation); Thu, 29 Jan 2015 12:50:24 +0100 From: Pawel Wodkowski To: dev@dpdk.org Date: Thu, 29 Jan 2015 12:50:04 +0100 Message-Id: <1422532206-10662-1-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH 0/2] new headroom stats library and example application 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: Thu, 29 Jan 2015 11:54:07 -0000 Hi community, I would like to introduce library for measuring load of some arbitrary jobs. It can be used to profile every kind of job sets on any arbitrary execution unit. In provided l2fwd-headroom example I demonstrate how to use this library to profile packet forwarding (job set is froward, flush and stats) on LCores (execution unit). This example does no limit possible schemes on which this library can be used. Pawel Wodkowski (2): librte_headroom: New library for checking core/system/app load examples: introduce new l2fwd-headroom example config/common_bsdapp | 6 + config/common_linuxapp | 6 + examples/Makefile | 1 + examples/l2fwd-headroom/Makefile | 51 +++ examples/l2fwd-headroom/main.c | 875 ++++++++++++++++++++++++++++++++++++ lib/Makefile | 1 + lib/librte_headroom/Makefile | 50 +++ lib/librte_headroom/rte_headroom.c | 368 +++++++++++++++ lib/librte_headroom/rte_headroom.h | 481 ++++++++++++++++++++ mk/rte.app.mk | 4 + 10 files changed, 1843 insertions(+) create mode 100644 examples/l2fwd-headroom/Makefile create mode 100644 examples/l2fwd-headroom/main.c create mode 100644 lib/librte_headroom/Makefile create mode 100644 lib/librte_headroom/rte_headroom.c create mode 100644 lib/librte_headroom/rte_headroom.h -- 1.7.9.5