From patchwork Mon Sep 3 11:00:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 145785 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2346916ljw; Mon, 3 Sep 2018 04:02:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYNMNbU7HaxDi2wxXs0W/Y/qsJE0+I2HwdFz/+hMTVltBFItSuX/nCSlSLD5Y5YaRWDn+ZL X-Received: by 2002:ac8:47cf:: with SMTP id d15-v6mr25432527qtr.24.1535972556226; Mon, 03 Sep 2018 04:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535972556; cv=none; d=google.com; s=arc-20160816; b=g+KLhG01f2GY7NaZ4FX9bSyv/UhuQdGBupsJG0nX4xX6FpRcMK5K11hv45UNcll61R GTziewhH6UD5Xf5evvdAr8jEpXNz1Wkj7xEGas4MRrhUhDbbeMunA/INrnyJAZOnmvNP l/fw1Oe2/MAAldMeft9swvC1aQyYhSdQo/enQwnD2p3vE2Zjv/8C0fhFfGV0yOws98DO Yst1hut+WwPuse4l7kA6E/SvTYi/huWnUnOzo/PGZ+maFg9cA8ONhCTyOKfSpjOL6Ra5 gFmk1YCmsiN5l3WSQ4iXIic5qpLB3dAaw7X3Br26FWYXVe86lNYyp5q5IE+lqyzb0fVo s7JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=sMfcyqXyglBaAaVboO36FN+nIqHP/Wmi9LAaJKxBohs=; b=afsZJSN3kRVgivolBAl893/aoV5mjfMlNiRt9pjbSyYGSL8iB9OQ6trBInLZuhLyBI lsSfey+h/z3o+weP7i5gPVyE2zbBMTxM+pD3tlW2pIdoTAUnEbs2YWkYfHRGu7u9VVnt 3cx0PEK4XZKC9wrCqrsueMUpKqyx6vWhr5ZZnm6akoc72TO9DQdxz4tRg1h8ML0qJvZS TzcAIlnrYrORst+v0bb8zd6QxDB05HEqTJBRCc5EYnrEfmZFGP2DxL/L81y54d1KCCMX Qabm03JElUyOFUOZkrPdLRL3DhrAFP5RZmBnvQY4tbYRwLy/YCcO6oKtXywxRmcxhP6i KyBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id f24-v6si2536929qkm.396.2018.09.03.04.02.35; Mon, 03 Sep 2018 04:02:36 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D2F6C60932; Mon, 3 Sep 2018 11:02:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0CA8E607C8; Mon, 3 Sep 2018 11:00:41 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D6F65607FD; Mon, 3 Sep 2018 11:00:18 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 741A96088A for ; Mon, 3 Sep 2018 11:00:14 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 8B7845103EAD for ; Mon, 3 Sep 2018 14:00:12 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IyHZq9dgOq-0Cim6eVi; Mon, 03 Sep 2018 14:00:12 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fhlYYakcOz-0BI4VtmI; Mon, 03 Sep 2018 14:00:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 3 Sep 2018 11:00:08 +0000 Message-Id: <1535972408-4918-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535972408-4918-1-git-send-email-odpbot@yandex.ru> References: <1535972408-4918-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 687 Subject: [lng-odp] [PATCH v2 3/3] test: sched_perf: total events per second X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Petri Savolainen Added result for events per second over all workers. Signed-off-by: Petri Savolainen --- /** Email created from pull request 687 (psavol:master-test-sched-perf-options) ** https://github.com/Linaro/odp/pull/687 ** Patch: https://github.com/Linaro/odp/pull/687.patch ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a ** Merge commit sha: 742c63f02e193181bd9172aeb63cf6d3d1de2e40 **/ test/performance/odp_sched_perf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c index d80f77494..bbd76c86c 100644 --- a/test/performance/odp_sched_perf.c +++ b/test/performance/odp_sched_perf.c @@ -564,6 +564,9 @@ static void print_stat(test_global_t *global) (1000.0 * rounds_ave) / nsec_ave); printf(" events per sec: %.3f M\n\n", (1000.0 * events_ave) / nsec_ave); + + printf("TOTAL events per sec: %.3f M\n\n", + (1000.0 * events_sum) / nsec_ave); } int main(int argc, char **argv)