From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A653DA04A5; Thu, 18 Jun 2020 06:03:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1366E1F28; Thu, 18 Jun 2020 06:03:31 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00068.outbound.protection.outlook.com [40.107.0.68]) by dpdk.org (Postfix) with ESMTP id 27FE21150; Thu, 18 Jun 2020 06:03:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y0I9bnGG0wkcBRHaY95exyROqwegRGNG4Hh99vJxnas=; b=mDlQ+KBq68AON6sWHzznm6LJDx0AJvF5VoNsldoej84KIhrNru/ADKNHGE6x+nq5gdJdwozUwDaY0REZVAqfYtKMFfg9JEvVkI3m9vNqoenMksswDpdZ8aq7aZHvfQL6Nc7DjUskNixXs5XuXW/1Poy2Af8u5AvCWAdnP/GkGq8= Received: from AM6P194CA0098.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:8f::39) by DB6PR0802MB2565.eurprd08.prod.outlook.com (2603:10a6:4:a1::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Thu, 18 Jun 2020 04:03:27 +0000 Received: from VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8f:cafe::30) by AM6P194CA0098.outlook.office365.com (2603:10a6:209:8f::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Thu, 18 Jun 2020 04:03:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT064.mail.protection.outlook.com (10.152.19.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Thu, 18 Jun 2020 04:03:27 +0000 Received: ("Tessian outbound 68e1a9769289:v59"); Thu, 18 Jun 2020 04:03:26 +0000 X-CR-MTA-TID: 64aa7808 Received: from 8e3abbc0d53e.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2F0F2C40-23CC-4609-8F9D-A26AA4C5A23C.1; Thu, 18 Jun 2020 04:03:21 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8e3abbc0d53e.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 18 Jun 2020 04:03:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f3p3U/gY1OJhCM6PN4eBMGQUIbcVGnOKUB6Z1Y8EHdF42yCT+17nDSPSABOUwz28buTY08oiNPKTHc9cv9ByQYv971FEO27IfbgVkNPBDpyaq6+2KYHBkI2eza6AQ+fPJXgAR90Noo090qC8BYRG2lNCfe4s5IURWeF3xNkQfp8pb1u6ohtfISgjDRg2raNKlXzK3fudXqYLaWnL3RW8zO7fIfegfPhPyeIsu5NDIUcpV9eLdZl5uEm/uusOquOigwkgrQOcn+viaVVZJ2f34UvWpgghWXy/H55jn+WfZFzg1l1fUdfpB7xICTlmva41YD2L8zT390yVFZXqiCS31A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y0I9bnGG0wkcBRHaY95exyROqwegRGNG4Hh99vJxnas=; b=VL1FFvezuJVqws5ctAb0zRwmi0brMePR46D7ckARgocFW5Vc7Zqcg5zyw/VrhdzSnXS4zAmFQLW6aQRDFxP/xaaYxO4sunXhtMjaOwiT+eL0wQtHmM3eOS6MdOktUwoCbmw6bccM415p92RYFFhPr44MyvPnDsmUFNXBSyVexvYyj7gjdYwvB5X2cxv3WK07Sy3mS9/8ySdESsWTTQLdrOfHTX4dl4Yb5SItsCqfsMhZyzj/1Cq9zsrjjPRLk1YBcv1rViXJBI2d0TwRs4Xp56WCAqNIOC0SjXt78RBD+jPtFDRqVCBmn8APigE5HgE+bDiGITR3rEWtsNnTraRAqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y0I9bnGG0wkcBRHaY95exyROqwegRGNG4Hh99vJxnas=; b=mDlQ+KBq68AON6sWHzznm6LJDx0AJvF5VoNsldoej84KIhrNru/ADKNHGE6x+nq5gdJdwozUwDaY0REZVAqfYtKMFfg9JEvVkI3m9vNqoenMksswDpdZ8aq7aZHvfQL6Nc7DjUskNixXs5XuXW/1Poy2Af8u5AvCWAdnP/GkGq8= Received: from DB6PR0802MB2216.eurprd08.prod.outlook.com (2603:10a6:4:85::9) by DB6PR0802MB2311.eurprd08.prod.outlook.com (2603:10a6:4:87::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Thu, 18 Jun 2020 04:03:19 +0000 Received: from DB6PR0802MB2216.eurprd08.prod.outlook.com ([fe80::1128:b7e7:e832:310f]) by DB6PR0802MB2216.eurprd08.prod.outlook.com ([fe80::1128:b7e7:e832:310f%9]) with mapi id 15.20.3109.021; Thu, 18 Jun 2020 04:03:19 +0000 From: Honnappa Nagarahalli To: Jerin Jacob CC: dpdk-dev , Ali Alnubani , "orgerlitz@mellanox.com" , Wenzhuo Lu , Beilei Xing , Bernard Iremonger , "hemant.agrawal@nxp.com" , "jerinj@marvell.com" , Slava Ovsiienko , "thomas@monjalon.net" , Ruifeng Wang , Phil Yang , nd , Zhihong Wang , dpdk stable , Honnappa Nagarahalli , nd Thread-Topic: [dpdk-dev] [PATCH 1/5] app/testpmd: clock gettime call in throughput calculation Thread-Index: AQHWRLpViNQ4uZSpnECRfJSM5Zmq6ajdaqEw Date: Thu, 18 Jun 2020 04:03:19 +0000 Message-ID: References: <20200617144307.9961-1-honnappa.nagarahalli@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: f6f97130-ed46-4e9d-9fda-0ed3aa1e5342.0 x-checkrecipientchecked: true Authentication-Results-Original: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [70.113.25.165] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6ff596e2-2de9-4138-766c-08d8133c8ded x-ms-traffictypediagnostic: DB6PR0802MB2311:|DB6PR0802MB2565: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:541;OLM:541; x-forefront-prvs: 0438F90F17 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: TQZg6zWDLiuMZVIMnAxGAs2ajvhzcV/umQWj9R3RewvVrck7uldgOYsfWDNpftXrfaHM3tDSJs3u+Oy0YQLbVazHOP/RGT6TuX9Z1cyoZsiNQyoyCj4QgM4Q1NqOqqTH/VZwo6CtjekBYW9p9uT6FJRy3D2Z7TOxvbEfvRX9r+iJ+0CI8BuvYUCZeHQ6oDQoJ4QUkJ1J4OpgJyVmH1GGMFPhSvSEnk/qSExQJUpVO6jJKnWRCwsvd2kg2ES+UruxB7GC5o2sgkO6HA7sseR5oZlz3SRM7CPZy4lTVEQWAkolU8a+1ZHQlB4S2Mis+QO2ptHg8dAyvW9634xdPwU4Jw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0802MB2216.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(396003)(346002)(376002)(136003)(86362001)(71200400001)(9686003)(7696005)(55016002)(5660300002)(4326008)(478600001)(53546011)(8676002)(7416002)(33656002)(6916009)(8936002)(76116006)(186003)(54906003)(66946007)(316002)(26005)(2906002)(66476007)(66446008)(64756008)(66556008)(52536014)(6506007)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: MTlFSN+4E1RZ/9PlmqlQsysUl6e8L8wpgC45fpCzra3XDq/crx8G5FgJ5f2eV4XnFvXHnsmZucvWPBDNvcajiaMpalLFuraecg4z/uaFtu/poGC+cqZs5wJ/QVwL/QiZb8JEyrS53W+fpbl15UWUGvrddZyIxyRBvLd0mrwGW7cAjN3PfDZtUDmy+VNr1nbZrHqUpg5quTTwQiF+q0OyWJXzEnwPFRVHBWyLm43cnRnDODWfiCcsu3d18OGEPHbPSwF30UtxeYzjnVixPR4dH7qW2ezh/u7u2Yw9riaqhvlXzVP8gttLges5Xenjke4Y4fIiF9BjHkw2SMNPk3iA2hom8TESX7jHSAm61tsOuwoic/rHTzCf8urCYPZFSFvoQbLcpuDRAiSTqy6Oa1q0D22wXhzzNQDsbkCRIvBa4v3hi4GyMp5ljZ9OMHgw8jE366bllA1NYPSRBqfxNdA8K15Y5cVwuJdhZrwFGgNuQOQ= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2311 Original-Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(396003)(376002)(39860400002)(346002)(136003)(46966005)(450100002)(356005)(6862004)(4326008)(81166007)(83380400001)(70206006)(70586007)(82310400002)(86362001)(9686003)(55016002)(8936002)(336012)(33656002)(36906005)(82740400003)(54906003)(478600001)(47076004)(2906002)(8676002)(316002)(186003)(26005)(6506007)(53546011)(7696005)(52536014)(5660300002); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 71251670-a816-4165-133d-08d8133c8937 X-Forefront-PRVS: 0438F90F17 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OgaUUiWz1Yzsi4dCtkPFsJHpo2lSMTmOT4qFA6eTkui9He64TBbWuAOqE+SI7UPlWsgLnkEbXA03f+8CSCIMe7pDgO2wUf3iNuOrQd41VI+0gbtOwB2Q7R5R0sDB9zQ1UVIDDatiGbeXX7k3j1zU0brpFbrDKcrOhKSLTDPgx6MpxwunEGQ5noIkL4HJUiUE7eNLIK3qOcwqgElXwqsIa8dbqhBysu+1xdQV5jJJ4XcwOLeKPKksvDJTjpbt8/Z9hNYRTZAAd/MoeJdmLen4NEDcKoOtBVGbr6iWOaE9+Z9iGXB08RrYQEWHP1Y8FM5Sa6x+/i4a/Y0JpBEgL+gjU9bSV45pAeY3qRyP4+dp1888Lkcjk7e0jEE2KWRoTNG56ElcwM4ejmMcgMni1fEA0Q== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2020 04:03:27.1121 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6ff596e2-2de9-4138-766c-08d8133c8ded X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2565 Subject: Re: [dpdk-dev] [PATCH 1/5] app/testpmd: clock gettime call in throughput calculation 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" VGhhbmtzIEplcmluIGZvciB0aGUgZmVlZGJhY2sNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPiBGcm9tOiBKZXJpbiBKYWNvYiA8amVyaW5qYWNvYmtAZ21haWwuY29tPg0KPiBTZW50 OiBXZWRuZXNkYXksIEp1bmUgMTcsIDIwMjAgMTA6MTYgQU0NCj4gVG86IEhvbm5hcHBhIE5hZ2Fy YWhhbGxpIDxIb25uYXBwYS5OYWdhcmFoYWxsaUBhcm0uY29tPg0KPiBDYzogZHBkay1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