From patchwork Thu Aug 30 10:00:06 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: 145536 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp618459ljw; Thu, 30 Aug 2018 03:03:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbDBvzsJVaxYWl2N887iTwq0jFNCVw9k7JeGL++a3g9ganDHbowb00cSKQ3ZKckpEzZGQhF X-Received: by 2002:a37:9f0c:: with SMTP id i12-v6mr6198456qke.122.1535623423633; Thu, 30 Aug 2018 03:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535623423; cv=none; d=google.com; s=arc-20160816; b=CLvt4QUbTIchKEVG90IUu/4u3AyMSKIL/SYU7+B33fbMzSH5hoPhI8//K9W6OF4W8h /FVu4CpPZ5zeCaEnN3m8gzt1P9rUAp9QAQQ5mBvEQDjtPPX/tMIiZUNi6bOEHwfTcTMc EniymX1rK+92ti+plXxFdGXQy88PvHz5XCDYLu7ssfJhiSkiRjod+0t6a2cVckjOrBGJ RAh9n92U9DHpgyolmlNHTPZBTQmXnFda9dBSMUN6y6HVZqaIBk2UsnW7yocXncX+Snwx Pz3ZitGee6VB6GCOPob3HxFoEk33iD2gxa7tKlyI7nTxd/Fo7gl4MBVRe0awXByphRjL twhw== 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=YIsJvp25T8fQa+8r3nxQnELIupu3Xa57eXrsAX7RyjE=; b=d14KP9EfyLKpNNRMrn2avFzilmjKduf0y7LbR70dlicBlXh+BtvSKcNIGY4u2sZByO R75UWCDEq0dJNkLjlzFXKZuRxYGLUhc9qbo+UGAXdUtMKh0n8SlDI8M+YtOsYPCql4xC uQTQg5nbmxx8eVsWtVZARgo9OIu4+QZXwPJ1m+nJoA938uc70rbscl1RkCHQ2OZ1pTUc FBKJueNobFHqorIIW5e5RkFtQ/YexscbkF6ns9LNGTnh3nuOTOw7TVSmYBxGFvA8Z1z/ ydhb+Kf8P0Znh3sapMD9K0mG+jQY+Mwqf1rXho5CqbJa5w9g45+tHuy8anLfpakth+EG aN+Q== 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 w1-v6si4505811qve.52.2018.08.30.03.03.43; Thu, 30 Aug 2018 03:03:43 -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 31BB361885; Thu, 30 Aug 2018 10:03:43 +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 1E3BF60F48; Thu, 30 Aug 2018 10:01:32 +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 5FCBF60F48; Thu, 30 Aug 2018 10:00:23 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 321A96173E for ; Thu, 30 Aug 2018 10:00:13 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward103j.mail.yandex.net (Yandex) with ESMTP id B642834C6192 for ; Thu, 30 Aug 2018 13:00:11 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id zs1XgvdAgs-0Axig7tI; Thu, 30 Aug 2018 13:00:11 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id KOCrzhFGB0-0AnmqvqN; Thu, 30 Aug 2018 13:00:10 +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: Thu, 30 Aug 2018 10:00:06 +0000 Message-Id: <1535623206-484-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535623206-484-1-git-send-email-odpbot@yandex.ru> References: <1535623206-484-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 687 Subject: [lng-odp] [PATCH v1 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: b10a9d3318c78101ad4c590deb3d4be6ad7b3cc1 **/ 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 ba16623c9..9bbcde0b7 100644 --- a/test/performance/odp_sched_perf.c +++ b/test/performance/odp_sched_perf.c @@ -554,6 +554,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)