From patchwork Tue Sep 15 13:55:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hongbo.zhang@freescale.com X-Patchwork-Id: 53670 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id E451A22A0D for ; Tue, 15 Sep 2015 14:11:16 +0000 (UTC) Received: by wisv5 with SMTP id v5sf8749605wis.0 for ; Tue, 15 Sep 2015 07:11:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:mime-version:spamdiagnosticoutput :spamdiagnosticmetadata:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=A7gvbCxco3e/Zdex6PTH5v/VTavlKaXYh/2TbieXV2c=; b=XuzRxCh6R7Shi1TrBwt8zQOPrrK8APAGsYq0HEbYtUBI6ud3bZ1U8t+9kSMrtbzzxo S6KgpNBzI4bxtxFBhmMUjcEPcD6IZjo4slah0KO8rBUyOua/siXxQqSapfRfR9HJ/mXp ld4fg5jlfHVUkq8ZmL60BLXJJzhPw5zml3WtN9a3gwTi0hBWbA0ajyk/FqsTaEt9Hrrn DReFYL+L8mPbcApz/WH1vTajlZxqlBk9hWF5XNmrhdvqz1fv9d8HVEKPAjQ17e3CkphW NI7rBwyXlNju+RLM45fFg91SWpIGn9N5Aaq0FEturN+LBMt8djMCg4MbSt2VIjYKc/jq GLkA== X-Gm-Message-State: ALoCoQlZ+6tzj8JeNGE6eGprL4M/7yJdlY8iWosQIhxERWCAiQ6P4f57UQ7Ojeqj/cknCWhWTI9a X-Received: by 10.112.172.70 with SMTP id ba6mr4299871lbc.1.1442326276163; Tue, 15 Sep 2015 07:11:16 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.200 with SMTP id o8ls825901laf.3.gmail; Tue, 15 Sep 2015 07:11:16 -0700 (PDT) X-Received: by 10.153.8.138 with SMTP id dk10mr10333964lad.54.1442326276015; Tue, 15 Sep 2015 07:11:16 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id r4si13884833laj.60.2015.09.15.07.11.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 07:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lahg1 with SMTP id g1so78980322lah.1 for ; Tue, 15 Sep 2015 07:11:15 -0700 (PDT) X-Received: by 10.152.170.225 with SMTP id ap1mr12346539lac.72.1442326275565; Tue, 15 Sep 2015 07:11:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1829342lbq; Tue, 15 Sep 2015 07:11:14 -0700 (PDT) X-Received: by 10.55.214.5 with SMTP id t5mr31833628qki.66.1442326274513; Tue, 15 Sep 2015 07:11:14 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id a51si17073466qge.64.2015.09.15.07.11.13; Tue, 15 Sep 2015 07:11:14 -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; Received: by lists.linaro.org (Postfix, from userid 109) id 88BFB62CEC; Tue, 15 Sep 2015 14:11:13 +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=-1.9 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 5D97F61FA6; Tue, 15 Sep 2015 13:58:17 +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 ED89A62CE9; Tue, 15 Sep 2015 13:58:06 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0127.outbound.protection.outlook.com [65.55.169.127]) by lists.linaro.org (Postfix) with ESMTPS id AFA0B61A3F for ; Tue, 15 Sep 2015 13:56:27 +0000 (UTC) Received: from BN3PR0301CA0001.namprd03.prod.outlook.com (10.160.180.139) by BL2PR03MB483.namprd03.prod.outlook.com (10.141.92.149) with Microsoft SMTP Server (TLS) id 15.1.262.15; Tue, 15 Sep 2015 13:56:26 +0000 Received: from BN1AFFO11FD043.protection.gbl (2a01:111:f400:7c10::125) by BN3PR0301CA0001.outlook.office365.com (2a01:111:e400:4000::11) with Microsoft SMTP Server (TLS) id 15.1.274.16 via Frontend Transport; Tue, 15 Sep 2015 13:56:26 +0000 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD043.mail.protection.outlook.com (10.58.52.190) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Tue, 15 Sep 2015 13:56:26 +0000 Received: from hongbo.ap.freescale.net (hongbo.ap.freescale.net [10.193.20.3]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t8FDtiXe031670; Tue, 15 Sep 2015 06:56:23 -0700 From: To: Date: Tue, 15 Sep 2015 21:55:40 +0800 Message-ID: <1442325342-13806-16-git-send-email-hongbo.zhang@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442325342-13806-1-git-send-email-hongbo.zhang@freescale.com> References: <1442325342-13806-1-git-send-email-hongbo.zhang@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD043; 1:tgtTGoibUKjau26bhaoWZHTokxh2QiaS3DSTkKAdlmsfAu+T/IuT5FTI5USjkAcrXe4GKxZ3Sw81cp/smrsaIgCKMvCo+ZRFOskMtTxrgvg2iwssACNjkZxmqhNMNTCuOjxantuXMlNZKXoiJAO1LyARa14jGvXf6hNO3et5R/AFL4mJWggyRpBVPgSeWNygEg09EArX551LkvQ8qzGhcVwYzWdGXHmLMSqNbAqIjtJFFRrAB7X+PakS07s2+eBz3qxYQKKAMHIWwdSKeStDhj0iETx145CatBT1f4NGczS9QcHf5ANjyOEz5F3nee0R3jLbgBGo+OpM1PDKm8bE3yMvAPnQuKqY2+HateafU6MVnJqBor65WLjpiHI8DAdP2q+cWy8vW3l9V78ih22x4w== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(92566002)(87936001)(5001830100001)(77096005)(5001860100001)(62966003)(46102003)(86152002)(33646002)(77156002)(106466001)(104016003)(68736005)(50986999)(76176999)(105606002)(48376002)(110136002)(229853001)(5003940100001)(19580405001)(86362001)(5001960100002)(5001920100001)(2950100001)(11100500001)(6806004)(85426001)(81156007)(69596002)(4001540100001)(19580395003)(50466002)(97736004)(64706001)(50226001)(5007970100001)(36756003)(2351001)(189998001)(47776003)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB483; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft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+OMGjNvBSotDGC3HdgmoEUumqNbecabXBWUhxUXKct2W5g5LcHEilTGb/T6+0w/Y0Z/LtJShM+i8KNPqiDLUE+YayncGZnAodZe2PWnDHQlPmXc+Vk0=; 4:vhvu4wRfAgQ0DrKYq0T7K9H6sdIOPsg8k+ASdO5FjFD8u2aDcZN2UAnfEQb8+Bc7wof4lHjcS3OyakeH2nShJwMOS7hK4aCozXQSznpuT92wLzTCG5VPQM+VXe2rXgMqxhpCJUxo554u/9KRINWo7ysIvE//QEPOM94GVr/FZ8LfWKHLIxrAt0xLK5YnyMVNznVht2zF6aS+DWnH1fNEXZSGur4MNhLHagxPlBDQreveIJmSo+S/vJuHDwM9gm9PkBryqmW5wHgryuCutRRXjIOJASI9Lkg+6efihILa5cEIy7dbbHMo0YFJ00KVE1NMHmPoFT/4/3wYjKpmyAfPTctNaFhcEJmzWKH6niQwIik= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520075)(8121501046)(520078)(3002001); SRVR:BL2PR03MB483; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB483; X-Forefront-PRVS: 070092A9D3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB483; 23:C7jqdKhzDSsQ2S2lNKle+FM2dFMAMejE3QqX4Oop9Z?= =?us-ascii?Q?9IoTfwWH0AKAf+XULT0hu4G/O76J+1C9pZZnQdakMXbJVUtiuULjAFof6FIG?= =?us-ascii?Q?uPTXqKhEoii/mSTSC9u+oCoHd3MmKMV8Ii3+G/oM9h/W7IFHJ2puHb06FyzC?= =?us-ascii?Q?+X3hgKcKU2kxMqAtH2D2EJ8X4QaM1ecUwupm2RQVAncIYI6gkbk4tpYe1AfC?= =?us-ascii?Q?pv3eYUgLTvreJ0azjOrbUpOhl8nXBzlEWG1beUFXvruda8wHS4knsQ8NmSSG?= =?us-ascii?Q?SqNaU2DVWFV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529dusu?= =?us-ascii?Q?HTwH7pQQz7MmlXuS9xJF+kpXHuEYbXMMzhWg/2hC9ylu+Jv4HTT73LnECuig?= =?us-ascii?Q?Nzjk6RIdcSoTHrzP4p7mQUGcgNdnwhC3ot8ZExos8cPB2Y1aQ+DiaSp8/Ya5?= =?us-ascii?Q?x9khSGfSCiao5tV9e3NoQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB483; 5:0lRKGERoXn5EsERLJNRGHuYlBebWhzFRdw41w/ki/JnM2CBgbeTSxZ2BGQs/+yG8C4SX+Fbj1jHvrVS7uVrDlLiZkmZYdkdfo5KwP9swnMGmWo+dAKrwjBsFkQyoW0WkeTcB7L9ZTbYeYpwdmvDn5g==; 24:t7sUmZN2LlJAeb3NH52eFggfGS8fZrFevPyUmICuNvXJWSsevpuUnGZ1zc7raKo6NU+17y9zEI9GR9mEDMNtPmqhAWbkmk1iNHMHC8yWYDw=; 20:ActY5uivUy4u+Pu+ml1/sn644w78oz6KE8e23ybxS4b62bmkb9ftB0/55665vMPc6HUvML2aRPfwHrgP3ptlIw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2015 13:56:26.1613 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB483 X-Topics: patch Cc: petri.savolainen@nokia.com, stuart.haslam@arm.com Subject: [lng-odp] [API NEXT PATCH v5 15/17] example: update CPU Hz calling functions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Hongbo Zhang The previous odp_sys_cpu_hz() is moved to cpu.h and then renamed to odp_cpu_hz(), but all the calling function of odp{_sys}_cpu_hz() want to show maximun CPU capacity in fact, so all the odp_sys_cpu_hz() calling functions are updated to use the newly added odp_cpu_hz_max() instead of odp_cpu_hz(). This patch updates the example part of codes. Signed-off-by: Hongbo Zhang --- example/classifier/odp_classifier.c | 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_ipsec.c | 2 +- example/packet/odp_pktio.c | 2 +- example/timer/odp_timer_test.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c index 021d4dc..85372a6 100644 --- a/example/classifier/odp_classifier.c +++ b/example/classifier/odp_classifier.c @@ -746,7 +746,7 @@ static void print_info(char *progname, appl_args_t *appl_args) "CPU count: %i\n" "\n", odp_version_api_str(), odp_cpu_model_str(), - odp_sys_cpu_hz(), odp_sys_cache_line_size(), + odp_cpu_hz_max(), odp_sys_cache_line_size(), odp_cpu_count()); printf("Running ODP appl: \"%s\"\n" diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 9f9511f..e72fae9 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -1063,7 +1063,7 @@ static void print_info(char *progname, appl_args_t *appl_args) "Cache line size: %i\n" "CPU count: %i\n" "\n", - odp_version_api_str(), odp_cpu_model_str(), odp_sys_cpu_hz(), + odp_version_api_str(), odp_cpu_model_str(), odp_cpu_hz_max(), odp_sys_cache_line_size(), odp_cpu_count()); printf("Running ODP appl: \"%s\"\n" diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index ee43c3f..5d2856d 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -1534,7 +1534,7 @@ static void print_info(char *progname, appl_args_t *appl_args) "Cache line size: %i\n" "CPU count: %i\n" "\n", - odp_version_api_str(), odp_cpu_model_str(), odp_sys_cpu_hz(), + odp_version_api_str(), odp_cpu_model_str(), odp_cpu_hz_max(), odp_sys_cache_line_size(), odp_cpu_count()); printf("Running ODP appl: \"%s\"\n" diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index 92bb243..555f461 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -650,7 +650,7 @@ static void print_info(char *progname, appl_args_t *appl_args) "Cache line size: %i\n" "CPU count: %i\n" "\n", - odp_version_api_str(), odp_cpu_model_str(), odp_sys_cpu_hz(), + odp_version_api_str(), odp_cpu_model_str(), odp_cpu_hz_max(), odp_sys_cache_line_size(), odp_cpu_count()); printf("Running ODP appl: \"%s\"\n" diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c index bee4be7..a8448b5 100644 --- a/example/timer/odp_timer_test.c +++ b/example/timer/odp_timer_test.c @@ -350,7 +350,7 @@ int main(int argc, char *argv[]) printf("---------------\n"); printf("ODP API version: %s\n", odp_version_api_str()); printf("CPU model: %s\n", odp_cpu_model_str()); - printf("CPU freq (hz): %"PRIu64"\n", odp_sys_cpu_hz()); + 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()); @@ -446,7 +446,7 @@ int main(int argc, char *argv[]) return -1; } - printf("CPU freq %"PRIu64" Hz\n", odp_sys_cpu_hz()); + printf("CPU freq %"PRIu64" Hz\n", odp_cpu_hz_max()); printf("Cycles vs nanoseconds:\n"); ns = 0; cycles = odp_time_ns_to_cycles(ns);