From patchwork Tue Sep 15 13:55:39 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: 53668 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 0837C22A0D for ; Tue, 15 Sep 2015 14:09:58 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf8668145wic.3 for ; Tue, 15 Sep 2015 07:09:57 -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=yqhnwZYYgQVBQOlJEAlQ6k2WD50CoQQ5I/0IPq29KSw=; b=BeB34TaGMdffI+2F788de2PSIdW89ytHiMBV7MJHO3ajh58SoLPfMIimrs6zA/0Ar4 hVGvdw8uizE6psSI31JVnZ6sXINfqzbB8y3nfRFzOQiwg5oUV1REZH1H6RHDrIdzoO4Y xSPocHKYgBdboRaehFcdgCj2ZfGj0xY03DdTO0tDJ6T26rc3NDoGvTjhKRCKnWBXm7Qv rpALmqnbOzfJJU+UAoze3aaJheAVvu8PT/XOchTUkASWAzKinW07SHhQmF7HYx6lk93U +s0vuv/+wjFBOPce7be3t671fZ2aVfw2zcM3LXGmkAatzApVhdciUD0WuTIVJynbdU4S 3L9w== X-Gm-Message-State: ALoCoQljcJM38TBSQDIIqCJrFDIYWmjsDyI6nYl3eo5BxihkgNIgnMzIFMb0s/mgUtdZdOPowSr5 X-Received: by 10.112.78.101 with SMTP id a5mr4404324lbx.9.1442326197345; Tue, 15 Sep 2015 07:09:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.203 with SMTP id je11ls261135lac.9.gmail; Tue, 15 Sep 2015 07:09:57 -0700 (PDT) X-Received: by 10.152.6.100 with SMTP id z4mr8493644laz.69.1442326197214; Tue, 15 Sep 2015 07:09:57 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id kq1si13881077lac.46.2015.09.15.07.09.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 07:09:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbvu2 with SMTP id vu2so13652219lbb.0 for ; Tue, 15 Sep 2015 07:09:57 -0700 (PDT) X-Received: by 10.152.219.34 with SMTP id pl2mr14708851lac.29.1442326197033; Tue, 15 Sep 2015 07:09:57 -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 w3csp1828552lbq; Tue, 15 Sep 2015 07:09:56 -0700 (PDT) X-Received: by 10.50.92.99 with SMTP id cl3mr6090304igb.48.1442326196004; Tue, 15 Sep 2015 07:09:56 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 40si13397423ios.168.2015.09.15.07.09.55; Tue, 15 Sep 2015 07:09:55 -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 F414E62C39; Tue, 15 Sep 2015 14:09:54 +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 D88D262CF3; Tue, 15 Sep 2015 13:58: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 0CD6062CF0; Tue, 15 Sep 2015 13:58:02 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0102.outbound.protection.outlook.com [65.55.169.102]) by lists.linaro.org (Postfix) with ESMTPS id 8B71E619EB for ; Tue, 15 Sep 2015 13:56:26 +0000 (UTC) Received: from BLUPR03CA006.namprd03.prod.outlook.com (10.255.124.23) by BY1PR0301MB1270.namprd03.prod.outlook.com (10.161.205.144) with Microsoft SMTP Server (TLS) id 15.1.268.17; Tue, 15 Sep 2015 13:56:25 +0000 Received: from BN1AFFO11FD036.protection.gbl (10.255.124.4) by BLUPR03CA006.outlook.office365.com (10.255.124.23) with Microsoft SMTP Server (TLS) id 15.1.274.16 via Frontend Transport; Tue, 15 Sep 2015 13:56:25 +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 BN1AFFO11FD036.mail.protection.outlook.com (10.58.52.240) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Tue, 15 Sep 2015 13:56:23 +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 t8FDtiXd031670; Tue, 15 Sep 2015 06:56:21 -0700 From: To: Date: Tue, 15 Sep 2015 21:55:39 +0800 Message-ID: <1442325342-13806-15-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; BN1AFFO11FD036; 1:T1XWMdrq2Ga3WcTGxMVLEMYQyq5nmEkwdhlPWHdW+mDXF5pvwuv+NRsC2F5pqWm5syEv38wm7bTjtzJn8tdG1jX3Pz6cfrh7sjAZicjZV98MgNocdOF6xSN0yV1px4OYL7tOLaFkqsPDhhqVufyg7YNd4HI6E4T03Y/UNZ1Bomk0FFi22N4d90JJkw2jO4iq1lstSwLLg/WbPuhkplsT1ko7HjS/kihU0hmhXB2Aja1jxtPyCGOSS/vJKJOhnE+5byOXLO/V6Q40rIucZvG54C3VCzX9dTm+vwYQmAK0FcpDOfz+yBk8gDYOC8NAxo06+fb2W2+bmer25mRDHGSwRVqkQvFqRSbv87b5hQeIsFMMnjGssvEeXU1vgo0OCvTUsLl8IRQbeTrwfeJMY1h1iw== 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)(47776003)(189998001)(2950100001)(36756003)(50226001)(110136002)(19580405001)(68736005)(50466002)(5007970100001)(48376002)(19580395003)(85426001)(5001960100002)(6806004)(5001860100001)(11100500001)(92566002)(62966003)(77096005)(77156002)(97736004)(4001540100001)(46102003)(81156007)(5001830100001)(106466001)(2351001)(86152002)(76176999)(69596002)(86362001)(33646002)(105606002)(229853001)(87936001)(5003940100001)(104016003)(50986999)(64706001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1270; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnost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TlCGuc83GIsgKYWzOp6kZrsWx+2OpOxFwUTCxIomdeJ8v99CXB7ToZp/wMcmLo7VJW/j7sZaibGswvyf+r6deMgnmPxq/d6P0kqjFrZ57P24=; 4:iOy8fXWvgj23JWNz/bGZ18j4sf0KYTu/FnDideP2sifgu+uC6onMhRshTtyFDlyCk2ej3h4Alg0RqtyrSp3m45y96KXxFYaIyVGnyYqSwkv4pRNvVovX+CoxraBJilg1N33VwtureZqYiyVThmOVuoaWif57+Qi1zyjUtwEaDMepNuJNgk2t0r6YYYU5+7Kah2xhChAjJHcokSKLpGnaDzszW3nBGAGnElXLpOsYc4UoxfpOhRrE9EZtB9Ka0fQ97NN36ng6UhautZy5HqH8llN+KWDJjO0fTTpKTgFuREgqh04d2BnNQXh10DweV21JZaG+7W7rkThUBrGUA1hN/hbeoxP4gudt8ssTi2CzN5DZet3st01iQ0buXw88WpAF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520058)(520075)(8121501046)(520078)(5005006)(3002001); SRVR:BY1PR0301MB1270; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB1270; X-Forefront-PRVS: 070092A9D3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1270; 23:PZ0ixv1nljqdfhE1Ep52gQjS/fmn3P/Y36ccssc?= =?us-ascii?Q?3SS6JyHMsTLNWL3X9AXK4txo1TuwStXY4hc3fLPLMqSOdgZ4arDpIve49j64?= =?us-ascii?Q?/0A9wU3gVTDhNwSLULQ8XHUO0TS1/mq86fP19YWrI5PEtoV63QR5KjuhwhAN?= =?us-ascii?Q?IJfJywdA/XUiOUCcnEjgNoFVu2QWS0HFoj5y7+fQmW16Dms2i8VOk64Zr6+q?= =?us-ascii?Q?VX/U1RSdaXnMMYTcAxwJWkAdF2s47Y06zeHkUkZA2QU7dvzEXflOESSxPsnw?= =?us-ascii?Q?1Jddx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63cRECwDO?= =?us-ascii?Q?v8s5t5NnD67GUsdUyN+l9LtHIqQKYDrzi7HIzDtw+KXhcxiTjzXiiNbsc1/a?= =?us-ascii?Q?0h+EJP1SZiiy3RETWvWFQtc9d8l22eDgrmdC37YgU?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1270; 5:gInlFHheYe/AAG9GyhgVOX5Rb92r3bcL5MN5iCViNWO6p2rc0uc6QtFNp1LwC6MknED55FOjwqOsWLY8vATv+EvfrTApiUA8w/aW5NQvAh/6joz9J98IwfFO8c8LOJJbcoycpt3WaxihirgIj1KOOA==; 24:IfGxBNobS5SoKJKUxLSp5832xG6S7MwMeeawNQN/SzmPiCITtf9wTZZwvsvpim+W8pZ/4i/ps4RrIkwofxlBrZH9itTvFschby527ukFBoo=; 20:XKBmspXiGoDDHYfLm7DUqvsB9dF5PT6qisSUJigmcqEM9bGsFTIXzAjeMTamsmwp7OeCr+WGu7fVNVU8OwPEGw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2015 13:56:23.7723 (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: BY1PR0301MB1270 X-Topics: patch Cc: petri.savolainen@nokia.com, stuart.haslam@arm.com Subject: [lng-odp] [API NEXT PATCH v5 14/17] test: update CPU model string 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.217.179 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 odp_sys_cpu_model_str() is moved to cpu.h and then renamed to odp_cpu_model_str(), so all the calling functions should be updated too, this patch updates the test part codes. Signed-off-by: Hongbo Zhang --- test/api_test/odp_common.c | 2 +- test/performance/odp_atomic.c | 2 +- test/performance/odp_l2fwd.c | 2 +- test/performance/odp_scheduling.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/api_test/odp_common.c b/test/api_test/odp_common.c index 0dbefa5..f927ea6 100644 --- a/test/api_test/odp_common.c +++ b/test/api_test/odp_common.c @@ -41,7 +41,7 @@ void odp_print_system_info(void) printf("ODP system info\n"); printf("---------------\n"); printf("ODP API version: %s\n", odp_version_api_str()); - printf("CPU model: %s\n", odp_sys_cpu_model_str()); + printf("CPU model: %s\n", odp_cpu_model_str()); printf("CPU freq (hz): %"PRIu64"\n", odp_sys_cpu_hz()); printf("Cache line size: %i\n", odp_sys_cache_line_size()); printf("CPU count: %i\n", odp_cpu_count()); diff --git a/test/performance/odp_atomic.c b/test/performance/odp_atomic.c index eefce06..29efd1b 100644 --- a/test/performance/odp_atomic.c +++ b/test/performance/odp_atomic.c @@ -337,7 +337,7 @@ void odp_print_system_info(void) printf("ODP system info\n"); printf("---------------\n"); printf("ODP API version: %s\n", odp_version_api_str()); - printf("CPU model: %s\n", odp_sys_cpu_model_str()); + printf("CPU model: %s\n", odp_cpu_model_str()); printf("CPU freq (hz): %"PRIu64"\n", odp_sys_cpu_hz()); printf("Cache line size: %i\n", odp_sys_cache_line_size()); printf("CPU count: %i\n", odp_cpu_count()); diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c index 64fc1b2..7621948 100644 --- a/test/performance/odp_l2fwd.c +++ b/test/performance/odp_l2fwd.c @@ -669,7 +669,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_sys_cpu_model_str(), odp_sys_cpu_hz(), + odp_version_api_str(), odp_cpu_model_str(), odp_sys_cpu_hz(), odp_sys_cache_line_size(), odp_cpu_count()); printf("Running ODP appl: \"%s\"\n" diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c index 2a7e531..c93dd44 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -878,7 +878,7 @@ int main(int argc, char *argv[]) printf("ODP system info\n"); printf("---------------\n"); printf("ODP API version: %s\n", odp_version_api_str()); - printf("CPU model: %s\n", odp_sys_cpu_model_str()); + printf("CPU model: %s\n", odp_cpu_model_str()); printf("CPU freq (hz): %"PRIu64"\n", odp_sys_cpu_hz()); printf("Cache line size: %i\n", odp_sys_cache_line_size()); printf("Max CPU count: %i\n", odp_cpu_count());