From patchwork Fri Apr 28 12:09:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 98356 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp232818qgf; Fri, 28 Apr 2017 05:14:08 -0700 (PDT) X-Received: by 10.200.54.136 with SMTP id a8mr10778271qtc.87.1493381648101; Fri, 28 Apr 2017 05:14:08 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r29si6080569qtb.270.2017.04.28.05.14.07; Fri, 28 Apr 2017 05:14:08 -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 C1D4562BDC; Fri, 28 Apr 2017 12:14:07 +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=-2.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, 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 5E52362C1A; Fri, 28 Apr 2017 12:11:51 +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 6954860A54; Fri, 28 Apr 2017 12:11:32 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0135.outbound.protection.outlook.com [104.47.0.135]) by lists.linaro.org (Postfix) with ESMTPS id 4BD55606B6 for ; Fri, 28 Apr 2017 12:11:07 +0000 (UTC) Received: from HE1PR0701CA0077.eurprd07.prod.outlook.com (10.168.122.21) by DB6PR0701MB2118.eurprd07.prod.outlook.com (10.168.58.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.6; Fri, 28 Apr 2017 12:11:05 +0000 Received: from AM5EUR03FT026.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by HE1PR0701CA0077.outlook.office365.com (2603:10a6:3:64::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.1 via Frontend Transport; Fri, 28 Apr 2017 12:11:05 +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 AM5EUR03FT026.mail.protection.outlook.com (10.152.16.155) 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; Fri, 28 Apr 2017 12:11:05 +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 v3SC9w4S001648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 28 Apr 2017 15:09:58 +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 v3SC9wmw001645 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Fri, 28 Apr 2017 15:09:58 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Fri, 28 Apr 2017 15:09:47 +0300 Message-ID: <20170428120958.17526-1-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.11.0 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)(39850400002)(39410400002)(39400400002)(39840400002)(39450400003)(2980300002)(189002)(199003)(9170700003)(86362001)(48376002)(53936002)(6666003)(50466002)(8676002)(81166006)(6916009)(36756003)(110136004)(38730400002)(5003940100001)(22756006)(1076002)(50986999)(47776003)(2906002)(305945005)(77096006)(356003)(189998001)(50226002)(2351001)(5660300001)(105596002)(8936002)(33646002)(106466001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB2118; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT026; 1:7IOpERUbANNqEEBt1Q2gspaej/ojK28+m0JgLqAvDTp0opZzobeCH21nnjox7EgqUJtpkRuQ1AyxTErrEDpQSX6mVppRtIpes/bDAYTwstg2EMcqEKLApvIhuT3yX71j6x2G/rJ/ByyQYgLrYdLvhqdUUK55HD9RsCyko50S9Rpgj8MCp5gCsc2GdqydzmdnNwlfMmCHq9omK7OP5R+F0VK/7D+rCEg1/4by1ZbgSclUxLyNh9Jk3sS/mRax2vhi3nWY3SciIOCLrJIsYwN1ChbK3qMYrTZVLoSEPOiFm/jjgLlO+zXQjnE+ByA1acTECjQ2u6U7heE2clYihNr9tPRXF5z6YkHQsuBeril8L/tBwPBKg7kQ5XkLnvI6sE4De8jzDm8/qTbdenqPm8flKvwoAyglN+gdBtPb2Zsv+p+RRzYaYbmyolOmye+hX/77p9ahw1vEFmZz4tBbZHxUECzkiqDqjG+gRYPrTSwf0c/YRKAC7/IGt04TmuGFHo/w+VossJq+V6rK/g293n8+vw== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 17f76a26-1776-428d-ac21-08d48e2fa52c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:DB6PR0701MB2118; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2118; 3:Dvrf3UFHNSuGvrgCpNLqlco6rxJMhqtY/eg8kjb56qvvkoJDG77R8hz2G/IWMi74ulv8zD1QyysyIsGhCJMHwbsjl9FP7/6kf7cByHa90ZLmQsaAupQ4R3Bb1bo3Q9cf5WB6j6QNYkBBNv9zBLY+spGoAAx8O8UYpgw7ebx6BgZhMhgQZZ+ctwT7dg0Yl/Cq5eAff79MyjVQWVbPERat3pogPcjCCYhGlaulvcnY7a5oKBhd1sps9Y2oByR5+sZFt6xUnbDwL/FQaYDzVrJnYXc4Gi1j11i0KuAgOIOG0C4+/0MG3CiKaGptwn6a7qunZXlfctlsjfMl8jcceueXv6oPlNJCyUF8q/eU1yWK6/4yvYnPjGqkWmdiYHw7/b8ck1D1nNJEQ3PjtCEUaqRrxxqgjux+C3qM3BvcFpEQQHn1TARieY0nyuBNK0hPfQpTyx1zsmQ7ueSCCixK7Bw5aQ== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2118; 25:XQM73fdk9wHIhT0gXPKnzK5gx8VY3wlulgmm1bybtMqpWEX3moj2K2eFB2Ezi5lGhHp25m5BeAKxo/YIcp1tIpItv6KNFKDnEhQrYnbwarnwLe5rc7f6uQJR1g5Y5Zip2rh2a4XRGf3fqWHseKrNgxnRWD0gvVeRKgOjiTEMSUAKDtaZgOWEPa9SdrbsOSz2j5Lg4IvE27dSDjX7wl9f0Xv9k7TpsFMvjK3U54AjkXJm2CJCa9TRdFsiSd27Xt9lkq96Cb+xRPhU3bEIpAyG1flqaEX/NbnM8ttw2H9ik1Lr+lPjPLw2ODl4YlqGHCIoDOKfMX6rOQbx3mCE/rFRFAMNqy65Jz90k3GD/c63n/X39FZM4Gx1u/KgLnJX7MMIksAdnFin7mYkrZ+Iy7h4BV+qVG6ptzTyXcn02E4JqklxeBPEejcZZBBbFCckLY03XxRZIXlEiTCW8rRCbfmF5jsNm8nKxORsqGelazK8pPg=; 31:oXIIESQejm3u9wa2KrSeOqln3Bg8JfORwvChb2tit8OGLuEHNXJC0UzRjNvYIMSoyx7lh+eID/bMyOTxA1gqhUhCifExWlsR9Q4fEbg2jzeWAvrcDC3PNsfMYc1P9Hh/BT3jN/7pMzS4tT9I01xIk2TaJxndRnGjCrxWFhESv8vTmnWPObfpbfJEaV39T6f1Tedl53aBNo3vm9X6ulqaoT5/wZWpWFy4t4jVGHYyM5vJ1CbmDUtNmLr8qQN20ejil9F+JcFXxFMmi9xCHGNRbw== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2118; 20:TXZpUMHVvY5kiTUqK4flnUeFUZt8+QJ2bLsoin1i5T5t8lmXzxxAaLrBn3RQ81Ywmxvd+icF/8LcdHksnFtkcuiHPLeISp89/8P2xmCSYwOsxbtANJrnvjBBUl+2mR6vm++zHWNma8TduYPZ9zlnTnbB+xjLET7rsLFv8+DjhPvsYDy9pqMROYOPyATMZ/ZxsVnPL1aut9pD/HAzD9r81VzPM7DrtMbXPHwgMvrrnod7nx2rcmEUDWj1ZaMMggoyPUO6sSa9qcbk6KQ7HsE7AtaRWXTjN6Ao/XSxZ4KnAvcqJKD1whPzCHtebrhFiUKMb46kvDQmS2zey7+O12xxuddrSjadsAg5JE8Fg84d7n8q5KHpNHQYF7k+9essZb8Df5UCXJny+ig8l3A2mq609W8HDfkRZhPRsgd/UKmPf93wWEwQcmM7BLAC+OXjgg4Opa6tZAXEUvy7juj8nbyCAOD8V3lytbwnt8EhXix934G+oH1JzekBNoQ3OTKDx6cznOg3X7jNNwWP0k46XqXImAZEs0zmlZE4/qILMlfXz2UMKvOgJwXXltZv1Kn4jwNHWjp3qb6+whHMaxQHlLQDI+3tYKQnfLhHNSV0at3iwTg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13013025)(13023025)(5005006)(13021025)(3002001)(10201501046)(93006095)(93003095)(6055026)(6041248)(20161123560025)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061750153)(20161123564025)(20161123558100)(6072148); SRVR:DB6PR0701MB2118; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0701MB2118; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2118; 4:mNRGwC+PXFGR6gXl8mqw3GpLjyp7lfMJvKRPkr2V7iy3Id9K1SbtWZvSmH6dnhDvKuZusxsKFN713J2G0YFcE8WXrmXgtARZ7aY4agDI7K00+P2XNO5o4izY1HeLK7uWW2XsoYiU1cgXmYUd6nKKucOTXYH85aQ5hxMtCEoQ2ADj6Q3F9I3hFvKOTrD8LoH90j1tHhkYBmP9FpQDhGSFVK+kF5nhqggFI8veGTWoKsJwVSCRPNgbbqhwUH68OW3TGqg+Fj2zdX0rSU07kh2nqIyWfl4Q0oQrH+WwQ4sy40Jnon0bSyS6e4gew17rHIKg1hi6TdVgdlRmbDCMl24+WEjE5QOqR/aWYQk3MYZy8C53x05FWOI9auEgj1wRFNs0CV67V2qSEvKfPbsH5r25GwcDz+5NvCsafwwikzOGFbXdtMAwLgBz7IwROmjkdeuTvEP7+9PJpFF/RvtcFStPR2FoRIZ28nMs0kj6n4d91AE4KeW+IWZbiX+gSYDvC61DFtoikqmspb9G0fP+7N3FxfWAcSZkhIgJAZJ9QkoDFmzSyEwhXBp1dwRpyCH2VOWpHxRCSp9cj61ktoBlH7WR8g47asSIj/ltb1AjQ+tr1XT0Ss8sEvyXf1k+OOPi7NzAeh3Fh0NbiTCs3Q/GKVdrpNo1AFh7qFQIurRrJHfBESXV9mZsVkVXkyUxzBk/3qVjhl1MwMJzIV8Fqrtt8RqirQs7HFtoTWKx3Y1gN5v1ALRXTAZO/N8ZH4O+/LtkODRknf2f6kzG5jFSZFtrn3TPP3BiDcJBvfdBOtSfw0v83L+n5rhdGk1pIamypRLfkatSV+3s8u/6cSrQUltkc3v0ajXwj/x/Prj0BbZw22bLqHU= X-Forefront-PRVS: 029174C036 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0701MB2118; 23:veWgJTxKBHHBThv3AlD52S1njMCym00veJM53Ox?= R/UengzlsJOpdcQmkQ6HZ4B9AbJoJju9/d+B8PhBBY194vWTOFPvEz483HSexvMj1dQ9yhsXG7YIxFuIVwYXB2F/BuMNq6jkS7D+CROTfdCovNn8ti5xxg2FJKwcbehmkSe3zLl+djPiKEanShHa3VCXTsKzFXPLqUIhB7YWoCBqGtsMtpUBt/ZaOF7RzzTpGHdh8tpjYQCgsGbWWp++jgpVxpslTo5FjTokAwQA0W1Jl81NpVdOEY/a6SpB/IBQzAqc66D5PE+9NjfICPm7fT1S7gLRs2BiEGfjJRAIHGW8wamKvsCN5GNRY0VOY/8k+4s4tp3B3jkyciveNRJmAbXlGd5+o03HJWr3NKG7OKl3gaJenRhVuoKE8r59uLNck/Tx/zeQl+EGmU80TdL72oLrPhcob/J50J6To5woWUPDMRtAGXCTnx4VnZPd8znRdGO4P4dR56b0tX/EYXHuY55khFpFzAcgEl2GRtQTmLhGor7veJopsiivzuOn6v6NwCw0iGC4slaKu445HygGJYU4py3ZKguZAihRGspjs4U1X79EqEKy4iFpWC1lzX1SNlG6nlnroZMfpiXoCIqwqpme7ISXDyHMHWzFP7FQ+khBcgcV6p53rEryM0wGiNs6nij0jLiPSnvh8y5R10S6Pqj3UZFjodtnCpL1ou98UUr2dYpUCY6u5/+aCfz8GQhrQoGCWCMAhciTQl1s0/433cA6+DvGiiLDRoKO2Cca3S7TZWLCsj/bBAqpUxZO8ix/frqG6Y3oKCgYjpXxzZ7wn+FgnMkFrnlA8CesjvF8+xmSeer0RXeTqUIceDcDwLg3/U6sRnUUUqbiGibPRZ7Mx/aK6+fYZMQ5aIa1PnEcG8tyt/K8U/pjptQPebJS5Dx61MV2Q+NYm10fOWSqL1m7266cgC6Yz6XcmYPcOFSUMKIPcOki+CLqC5dThmvQJq+SVX9RSLA5bhB9HdBukajKZjyOBPj2Pn1yeya5yy3TtVgNJ2A== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2118; 6:JBqqXqpKg+W09vZWkRWZ+En+3JWEXBdJX7BY6EbnWTM7TCj7/4jfwgG0hnqCHNDcOXTUMFno0aIm9Rm7LA8wrH3MrJvE3PUuRvrg1N9400S4Of/dy8yijW11goJkWISKiNFTTnD8CFofcyj17ODtHZpgCwrRgRMh4ZdYQ5uja/LQC5FWAFFnEzWLqEKqXhv70LIwAE3z4LOsSZficcx9bMLdHyP7WxJDtweQePlMWx6l2EUNSwRL9tRnKMV5mLttR95VxCf+rJajlebBuZRzNTD00bY0oQTq8h+Fa6YtlLXCSE6rz8mzPHALSQzAMpdkrBwhGgmXmylmMsgU88qlTOgv4EYNM3cmpb1UUoPQnUtzd7zOKmxGUOcPL0jjDC7QFNlc6iCQjq9uut6qJiD6aeBSB+6Ap8BC7FUPgXKuN++nNkHyRryJojdrTItr0x71VrUYiyGY/KCfgUs/oOOGgGH0MZfSZY49GnoeeNUoLWD3gsWA8W0SxWB1DA3dSYPvTogTi30ZdcbO5aysvg/VRv7vAVsCuYCj9BrhZPluatyyFGfNXS/l+EKMAKWc5sQu; 5:Y88QoMK/yFpQrVEleT9ieRjH6tPht3CHbCyk/eYIemttN8kGxwwOq1xZb1s6dsiVnVeigQ4c/7tljmkGwF4toekgJEntYRkZprUaDJb874YSz3F61KQNMPJWfeCc9dfX/akohgfBOM5aix1H5/sJUg==; 24:VQJWHvDiIqINe8E0QrtTlmidX2BIODMwC0a3wVb8bQ88nLOyILdx85T7UGosA3f815vLJilvD13QwVR6Ax71l/n1dGVpMh4AjOkPUMeDQK8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2118; 7:I5eUqE9LS5lRV6o01ZZqWzNjIPka4U3jcPSkBERhlwyVv7UT3jzKHTRYvfcXBXCONyqC1/SLKGxC+QQ7z+WgIYK3T56D5+uLPrihzJn/zk+zUT42TqLF5vB7yaMbXSilsiQR0ePyw0O5fcB7jckkNJJQAccA4qWVs9JiPvB3o4d/vhSdE5L5L2F8UOBTeQzELF08u2UKrG1qW5LlSxppkCPVyU75qMJlQVHwye+6qczUTxbnCXTF8xRZRSUYwsJOWgIXQWoWd0DqNAOzOdsYD1pMd/TJWZMK9fNHG5//NdxHsZD6xY92/WYYTBWpVBwY1BSrrL+0L82rIY+sLoNt6A== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2017 12:11:05.0139 (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: DB6PR0701MB2118 Subject: [lng-odp] [API-NEXT PATCH v3 00/11] Use HW time counter 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" This patch set modifies time implementation to use TSC when running on a x86 CPU that has invarint TSC CPU flag set. Otherwise, the same Linux system time is used as before. TSC is much more efficient both in performance and latency/jitter wise than Linux system call. This can be seen also with scheduler latency test which time stamps events with this API. All latency measurements (min, ave, max) improved significantly. This is sent through api-next as cpu flags are printed through new system info print function for debugging purposes (to verify that invariant TSC flag is read correctly). Patch 3/8 causes two checkpatch errors due to code copied from DPDK. Both the macro and the ifdef cannot be changed, so errors should be ignored. v2: * Use ODP_PRINT instead of printf * Removed couple of time.hw.reserved set to zero. One remains since otherwise GCC suspects usage of unintialized variable (false warning). * Fixed install of new arch/x86/cpu_flag files v3: * patch 1/11: Remove odp_time_to_u64() as unnecessary, nsec time is u64 * patch 10/11: Slightly improved TSC frequency measument accuracy due to fewer but longer sample runs * patch 11/11: Lower odp_time_t memory footprint due to converting timespec to nsec time before storing into odp_time_t Petri Savolainen (11): api: time: remove odp_time_to_u64 from API api: system: added system info print linux-gen: cpu_flags: added x86 cpu flag read functions linux-gen: system: implement system info print test: validation: add odp_sys_info_print test test: sched_latency: use sys_info_print test: validation: rename time test header file test: validation: add time accuracy test linux-gen: time: use hw time counter when available linux-gen: time: improve x86 TSC freq measurement accuracy linux-gen: time: store timespec as nsec configure.ac | 1 + include/odp/api/spec/system_info.h | 9 + include/odp/api/spec/time.h | 13 - platform/Makefile.inc | 4 +- platform/linux-generic/Makefile.am | 5 + platform/linux-generic/arch/arm/odp_cpu_arch.c | 16 + .../linux-generic/arch/arm/odp_sysinfo_parse.c | 4 + platform/linux-generic/arch/default/odp_cpu_arch.c | 16 + .../linux-generic/arch/default/odp_sysinfo_parse.c | 4 + platform/linux-generic/arch/mips64/odp_cpu_arch.c | 16 + .../linux-generic/arch/mips64/odp_sysinfo_parse.c | 4 + platform/linux-generic/arch/powerpc/odp_cpu_arch.c | 16 + .../linux-generic/arch/powerpc/odp_sysinfo_parse.c | 4 + platform/linux-generic/arch/x86/cpu_flags.c | 368 +++++++++++++++++++++ platform/linux-generic/arch/x86/cpu_flags.h | 20 ++ platform/linux-generic/arch/x86/odp_cpu_arch.c | 68 ++++ .../linux-generic/arch/x86/odp_sysinfo_parse.c | 6 + .../include/odp/api/plat/time_types.h | 19 +- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/include/odp_time_internal.h | 24 ++ platform/linux-generic/odp_system_info.c | 30 ++ platform/linux-generic/odp_time.c | 256 +++++++++----- test/common_plat/performance/odp_sched_latency.c | 18 +- test/common_plat/validation/api/system/system.c | 8 + test/common_plat/validation/api/system/system.h | 1 + test/common_plat/validation/api/time/Makefile.am | 2 +- test/common_plat/validation/api/time/time.c | 77 +++-- test/common_plat/validation/api/time/time_main.c | 2 +- .../validation/api/time/{time.h => time_test.h} | 2 - 29 files changed, 863 insertions(+), 151 deletions(-) create mode 100644 platform/linux-generic/arch/x86/cpu_flags.c create mode 100644 platform/linux-generic/arch/x86/cpu_flags.h create mode 100644 platform/linux-generic/include/odp_time_internal.h rename test/common_plat/validation/api/time/{time.h => time_test.h} (92%) -- 2.11.0