Message ID | 20170424104917.24102-6-petri.savolainen@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1421417qgf; Mon, 24 Apr 2017 03:51:53 -0700 (PDT) X-Received: by 10.55.25.72 with SMTP id k69mr18547635qkh.276.1493031113737; Mon, 24 Apr 2017 03:51:53 -0700 (PDT) Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p26si17694355qtf.194.2017.04.24.03.51.53; Mon, 24 Apr 2017 03:51:53 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5376F60763; Mon, 24 Apr 2017 10:51:53 +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=-4.7 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED 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 880D1608E6; Mon, 24 Apr 2017 10:51:09 +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 2E485606E1; Mon, 24 Apr 2017 10:50:37 +0000 (UTC) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40108.outbound.protection.outlook.com [40.107.4.108]) by lists.linaro.org (Postfix) with ESMTPS id E204160962 for <lng-odp@lists.linaro.org>; Mon, 24 Apr 2017 10:50:04 +0000 (UTC) Received: from DB6PR07CA0061.eurprd07.prod.outlook.com (10.175.237.151) by HE1PR07MB0905.eurprd07.prod.outlook.com (10.162.26.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.6; Mon, 24 Apr 2017 10:50:03 +0000 Received: from AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by DB6PR07CA0061.outlook.office365.com (2603:10a6:6:2a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.6 via Frontend Transport; Mon, 24 Apr 2017 10:50:02 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by AM5EUR03FT060.mail.protection.outlook.com (10.152.16.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Mon, 24 Apr 2017 10:50:02 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v3OAnH0U005814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <lng-odp@lists.linaro.org>; Mon, 24 Apr 2017 13:49:17 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v3OAnHYT005796 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for <lng-odp@lists.linaro.org>; Mon, 24 Apr 2017 13:49:17 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen <petri.savolainen@linaro.org> To: <lng-odp@lists.linaro.org> Date: Mon, 24 Apr 2017 13:49:14 +0300 Message-ID: <20170424104917.24102-6-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170424104917.24102-1-petri.savolainen@linaro.org> References: <20170424104917.24102-1-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39840400002)(39850400002)(39450400003)(39410400002)(39400400002)(2980300002)(199003)(189002)(9170700003)(22756006)(50986999)(76176999)(77096006)(33646002)(189998001)(5003940100001)(47776003)(50226002)(8936002)(1076002)(305945005)(81166006)(50466002)(356003)(5660300001)(2906002)(48376002)(2950100002)(86362001)(8676002)(36756003)(53936002)(6916009)(110136004)(6666003)(38730400002)(2351001)(105596002)(106466001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB0905; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT060; 1:cRz3F2Z2SeTTOFRStHDfAg5SZQDUvbtAt6gxpv73JP5CCostXIlaHwjbRT3PX2iCS7WnKdDnz0OxOBkQvwhC1Uu2cgarZ5l0D8ALIqsnfWa7pdFtLX4LhrCY/6vQlSL3YDUt+lkQ9W5BG5g4zvZuPWL6NB9M1RnsvmHOnvFN9On8s+YIGsjzJooS9bpsTY1RhO7mEbmNLeSEM0XvrsV5SY9pbodV/+U+iqeKDZgunnqSpTe2xn/iFT6FmJlvhsFAbLEMF4SND+RCSzTMdZzMwdTjmgWQn5i+NTcEt5gCJP93tXBZIQREoerOm4UmDr+h6hwkWAFTMgvX5AFBK5xaYd7snB2S+/mX8Z3NyxDWqja+as0hyvYA9yhHa1GA0vG1yBAR4WO+EQqEmy9crQTCfiYyQzK6YS5+zAhx2YFsci/uy8wD+M4U2hrNftg5oMWaox+j+YHIL269pwjWY87lylzE/N3jDb0+TBAoO4BS2NOZFz9lv9SOPZi6zMUwaCH2FtwgzU3K6SKJb9SnY09X8Q== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 22a718f0-08f4-4d37-bc39-08d48affa91b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:HE1PR07MB0905; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0905; 3:7aS0Z5G2FsYjxX/snzLP/03cj27IAC2qrZ+bvDsHt+GIW1WvLnUWVSc4tIqeb3MmZQiRXps5AUTPzh49lZa1OqmxUqsJqyIFjVb387qWFtJ4jl+qFuAzSErh2vE0bohIm/ZigeIISVoqid5nQN6RYhBgojy5ppQl7Tj7hg+qr6THYtzp8VG0VZZamUWdHJIXDAq+LgXR8/qj3yoZg/pCY7YSHc/rmrcV8xoLZn5amySAivezHUwMnrI+GuQJ0rK3wFQh0MhyUmi3vzeyhhIgFB4lHjn46QDX9Zdy5SFdGI/aGjSmeI8OBoY1SEyePZ6lR1GzPGN7aGM/CL0Q+WS5wOyKgVQNgjQjXus0YbsVBHp+CiLfUl0ED0lyzh4zd3yPVZCWbsdIZTktyOuUfL97/xeH0qqn1Vwl+SVSqbIHSjOl67p/hfcHIzo1dMQUm7+DjdAIkRL+G3kmeAmTJuenGw== X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0905; 25:ebPjC9Ol1dj7WBOjytR8pbcbyJ03lhY3EfHfBXSmtUSXWk+k7dTbtM3uVcYjGsn9WNbVWdv/h6Ry0wsHFZ+YsT9lOoINBkGIPUVK3oF5A0fdHWy5iu7GpQaDqeJ2fIjJIQ9+UOXF0jll2WP5I+Rfm7kLwmLv+WL8FaC0pzLjLEaOCGKYgO07RsQpiHm8/ABmrBqTPVRt+/wlE7cMMDldqfAC0VcMWCaqFpjRWt/rhCFzjgYtGjzSb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qnzaYKSrrL75jWIdeV8fo02sD007se72pSceHpcGT0fDgzniVpu3HSvf8mQhN+b0iG+5roIWfTu5B2gfTlmTCCH6/51uJHM3Cqbl7QUPL1vwva3ajUFsCLE0= X-Microsoft-Antispam-PRVS: <HE1PR07MB0905299B8DCA2BD9A15282B7E71F0@HE1PR07MB0905.eurprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13013025)(5005006)(8121501046)(13023025)(13021025)(10201501046)(3002001)(93006095)(93003095)(6055026)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:HE1PR07MB0905; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB0905; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0905; 4:mkKEtYrjIvQL/XEaqJax88JhMYicirQiSdmCp7QJP2Z8dEX4rerD5INsV9MKR5r9zdegefqoYu0mkEpLns0vcooFrPb1Yj6VxMuIzsVATwojlmRVoqhOpgs+71tVsw2WWwzyi/7+LSeASQ4vqXTQYBw+wWajnNqsOtIR0MXcwLQVpcW1U3iXX/egUams/yDuQJfSC14Ixs9ev9GSKDTzIBRjqsS8qskEZyM9XjWTxQ0kgTS/UpAA6cP5YyocptQ1wdq3KFxT+QZTb2xhiQWHrmBtFeR28GpQjSG1rcQeit5dlJD/Z5x0P/o5uvpF4tzZhO1x8YazBVOkKkm2Kza1jRfKPvWUTkKVBd62rxTbdyV7E/6dupcsJzC4LO9xL+4zkiTouL0GXOhc9//WvsbxpE30rkNUA9jnjWksddbaeMutWuK4AKR3XpWpOs3XlDXGYq/hxhdqnS7yyV+s6gjpSPPtj3wdS3gVHiNbs+2VXgAoXIEIup8X4P/7cQWL36y9qZc+vXX5ha/5oOv7ELnitkdJExwuoz3KMmQVthkZPmuKi769P/HB6u41GG01pqwxon1gemjUePlyUXzmWnePN7DIiY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IkxLc+Ue01FvCOMfbrnWmVH3U6RqNTEPzk8B6rn3mBbP6HffajNa45xLigCUDsfZDu5OHE7h9Jw7MByqjJdZf+SYE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0905; 7:8dq0kXXZpzTgKOXb+Ig+2P9mVSWm/bHw45wHKOTzZaFNNpmKnlhx84wJyQZwt/21ZlWDyZVab4dG2J13mvtvLVWB1cE9b7QT4bnrUzt/DOXsGFpxKnqw3gaCmesBfDMaaaA+HPOvPzln9zELlypg6oPKTslpf5JocynXNBgSatuqfP29Wsi55ruJY5fLLWdaDd70TGCjCFJTQyURvKraHLH0WS7zY/SUgzoWhfZFmz152OFV41Y2CQMxsdL+LHmJ6oh31tGc5AByJBHmyMNabFMkk90LDmq82KBG6ETHTd0KI2yFsI9auMbFiiK7f73/vk3gBg2yMBYnCfKQyH2IfA== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2017 10:50:02.2824 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB0905 Subject: [lng-odp] [API-NEXT PATCH v2 5/8] test: sched_latency: use sys_info_print X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
Use HW time counter
|
expand
|
diff --git a/test/common_plat/performance/odp_sched_latency.c b/test/common_plat/performance/odp_sched_latency.c index 2b28cd7b..f2aac06f 100644 --- a/test/common_plat/performance/odp_sched_latency.c +++ b/test/common_plat/performance/odp_sched_latency.c @@ -634,16 +634,7 @@ int main(int argc, char *argv[]) return -1; } - printf("\n"); - printf("ODP system info\n"); - printf("---------------\n"); - printf("ODP API version: %s\n", odp_version_api_str()); - printf("ODP impl name: %s\n", odp_version_impl_name()); - printf("ODP impl details: %s\n", odp_version_impl_str()); - printf("CPU model: %s\n", odp_cpu_model_str()); - printf("CPU freq (hz): %" PRIu64 "\n", odp_cpu_hz_max()); - printf("Cache line size: %i\n", odp_sys_cache_line_size()); - printf("Max CPU count: %i\n", odp_cpu_count()); + odp_sys_info_print(); /* Get default worker cpumask */ if (args.cpu_count) @@ -654,9 +645,10 @@ int main(int argc, char *argv[]) (void)odp_cpumask_to_str(&cpumask, cpumaskstr, sizeof(cpumaskstr)); - printf("Worker threads: %i\n", num_workers); - printf("First CPU: %i\n", odp_cpumask_first(&cpumask)); - printf("CPU mask: %s\n\n", cpumaskstr); + printf("CPU mask info:\n"); + printf(" Worker threads: %i\n", num_workers); + printf(" First CPU: %i\n", odp_cpumask_first(&cpumask)); + printf(" CPU mask: %s\n", cpumaskstr); thread_tbl = calloc(sizeof(odph_odpthread_t), num_workers); if (!thread_tbl) {
Use the new system info print function. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> --- test/common_plat/performance/odp_sched_latency.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) -- 2.11.0