From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 6F430375B for ; Thu, 27 Dec 2018 08:27:51 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBR7P2wk022957; Wed, 26 Dec 2018 23:27:46 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=ea2xro+/yF4wovstDksuKXqlTGaQeT/uXwTN54htsfQ=; b=QlpFvuK1neOFN4LWlFHuC01OUwsdZ1d9naxPkuMQLl4GVUlDMcGZSqznKxFOKGRnPuoX Z6NpFT9lzLQa08dYflI8cKRdHEpPgQkKrtbbeUykASXXQG50gl0SSg2NpbQ0q9y8q/Ay phC4W6mslfv95t9Mr5YKMHrxLynYfXNkr5zLDlANW4okutVYgwa2Z5y3M0mxn1i3FV+S zFm9wJSSn20wYMPJh8AbWJSXPdlaFkogSKyYiEj0J7u4OiEJKIH0IVWVAWZnf25orQs8 I2SEyS1tOtMzC3yHIr8IfUn/XWyvd/t/IyA6yaR1QfAG0gz71RCrUrRUk97S6piMwaCh dA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2pm2ysx4ns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 26 Dec 2018 23:27:46 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 26 Dec 2018 23:27:45 -0800 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (104.47.50.56) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 26 Dec 2018 23:27:45 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ea2xro+/yF4wovstDksuKXqlTGaQeT/uXwTN54htsfQ=; b=qMbmqj7O5LwnWlulUN7TgK5hEHlk/yYNb614yp8bV414btINPggyFnaSyVuZGhNxTx+pFCtsb74Ujj4oEhtk9QbvTMCkmfKZvbgthJovnDiNKtEuXYEJ2sKSjDGwrirUE85Z/nCjMZ8vivqzBc6yhq0Fddoh+yDqKVCsd+EMOFo= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2726.namprd18.prod.outlook.com (20.179.56.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Thu, 27 Dec 2018 07:27:44 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d21:75dc:c1d9:65f1]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d21:75dc:c1d9:65f1%2]) with mapi id 15.20.1471.019; Thu, 27 Dec 2018 07:27:44 +0000 From: Jerin Jacob Kollanukkaran To: "gavin.hu@arm.com" , "dev@dpdk.org" CC: "david.marchand@redhat.com" , "chaozhu@linux.vnet.ibm.com" , "nd@arm.com" , "bruce.richardson@intel.com" , "thomas@monjalon.net" , "hemant.agrawal@nxp.com" , "stephen@networkplumber.org" , "Honnappa.Nagarahalli@arm.com" Thread-Topic: [EXT] [PATCH v3 3/6] test/spinlock: get timestamp more precisely Thread-Index: AQHUnZql4xpJmStFr0ibL2sItWuTmaWSMBYA Date: Thu, 27 Dec 2018 07:27:43 +0000 Message-ID: <2a2c2bbd4c4e947b913029eaf44203f891270e53.camel@marvell.com> References: <20181227041349.3058-1-gavin.hu@arm.com> <20181227041349.3058-4-gavin.hu@arm.com> In-Reply-To: <20181227041349.3058-4-gavin.hu@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.208.111.21] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR18MB2726; 20:2rPuWQ2yGz7XdAikOKPOoV7KZ7vCxaNYaqu5wIosqEK1tJ+6T5f848KlDQoQig5nS7N8WIInioCzwJa3QmFJQpJZwWMN/dRlQTD+Ys/J6uHdP2gcIpwpJysrMx2wAzx84yvSDSIgkBjSrQUGjuwqDtHx8AGzPnIvBC2YTZFd29E= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a677772c-0e31-4e3f-1a3a-08d66bcccadc x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2726; x-ms-traffictypediagnostic: BYAPR18MB2726: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3231475)(944501520)(52105112)(93006095)(93001095)(3002001)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:BYAPR18MB2726; BCL:0; PCL:0; RULEID:; SRVR:BYAPR18MB2726; x-forefront-prvs: 0899B47777 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(346002)(366004)(396003)(199004)(189003)(6506007)(102836004)(76176011)(11346002)(316002)(2616005)(5660300001)(68736007)(86362001)(4326008)(78486014)(110136005)(54906003)(26005)(7416002)(2501003)(6246003)(6436002)(25786009)(53936002)(66066001)(6486002)(81166006)(81156014)(71200400001)(71190400001)(8676002)(8936002)(118296001)(2906002)(229853002)(476003)(6116002)(6512007)(186003)(3846002)(4001150100001)(105586002)(478600001)(256004)(486006)(14444005)(99286004)(7736002)(305945005)(446003)(106356001)(97736004)(14454004)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2726; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: rRlHTcfyyHRbAYsdeCwfg0KaN8oti7NhiF58CSdzFlvGXeqDSxw41IXU8D+GQ1Yqv06TBVaU3Nnxk0hbkRPtauwEnT5mjU4VgXOtySr9xQDk1HiiVEbsvGjAtq5XroEY6FDq+TjLvO6wIsmLSkpf8A76o2DLJMpEecapTWUtFsT++8ub9Divqm8f346zQB4+mZlD2os8y15aZr55Avbr9u78YpZM376HdbaJAfQSXUB2ulhkxMOeFr/r4sIO5Z8hp03EEzMIwgI++okcXLOK2qAMj0IRM5iv32t9UTm/qUGQA67LJaSaZKxaqvjMAsw8 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <494A5BD7C45BC84BA6031D278C6161EE@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a677772c-0e31-4e3f-1a3a-08d66bcccadc X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2018 07:27:43.9225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2726 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-27_05:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812270070 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 3/6] test/spinlock: get timestamp more precisely X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 07:27:51 -0000 T24gVGh1LCAyMDE4LTEyLTI3IGF0IDEyOjEzICswODAwLCBHYXZpbiBIdSB3cm90ZToNCj4gLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLQ0KPiAtLS0NCj4gVG8gcHJlY2lzZWx5IGJlbmNobWFyayB0aGUgc3BpbmxvY2sgcGVy Zm9ybWFuY2UsIHVzZXMgdGhlIHByZWNpc2UNCj4gdmVyc2lvbiBvZiBnZXR0aW5nIHRpbWVzdGFt cHMsIHdoaWNoIGVuZm9yY2VzIHRoZSB0aW1lc3RhbXBzIGFyZQ0KPiBvYnRhaW5lZCBhdCB0aGUg ZXhwZWN0ZWQgcGxhY2VzLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogR2F2aW4gSHUgPGdhdmluLmh1 QGFybS5jb20+DQo+IFJldmlld2VkLWJ5OiBQaGlsIFlhbmcgPHBoaWwueWFuZ0Bhcm0uY29tPg0K PiAtLS0NCj4gIHRlc3QvdGVzdC90ZXN0X3NwaW5sb2NrLmMgfCA0ICsrLS0NCj4gIDEgZmlsZSBj aGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pDQo+IA0KPiBkaWZmIC0tZ2l0 IGEvdGVzdC90ZXN0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