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 CE993A04A2; Tue, 12 May 2020 12:19:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1EA21BFEC; Tue, 12 May 2020 12:19:22 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 8C9CC1BFB6 for ; Tue, 12 May 2020 12:19:21 +0200 (CEST) IronPort-SDR: C8EftaEC+vRYRlWS3E4reLA8/pE9j2ny3vP2i6BLBdz/BlGTH405saURkQEc6cf2rZA/Sy4eCa fIZq/SElKdiw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2020 03:19:20 -0700 IronPort-SDR: /U1EqV1uEHwF3T9entdkBsyg43J3PMsD4BwmqmDaZLQpQVIO+Pcd5Pe16OuClrL8AlSz4aixpC gFKxQuSmmmag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,383,1583222400"; d="scan'208";a="306445135" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 12 May 2020 03:19:20 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 03:19:20 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 03:19:19 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 03:19:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ULyR5mI5SswTizEO90DNwOaCRU0qHPemmVLAi4tc6sK1mf3kZoFUuFmynyDtzenju/jqLIhX8GqP8K5lDNc3tWZKmFbtTOxYHBegpHR+q1UDBXjhowTPZJOtRaFJzA5tR9gdVUoyh6rsphFGHK44tB4kH5zKqNbW2KoLqXq2KzmMaPtxYWnJbhWmXfF9oY4qpRiNr1v9EpwzfJLdctBUTYZVa3SpCjivpSdf5X1nlpLZ0dEg9pbEbRvNzkF+phjcS4t3C4B1Uke5ZMPMfK4tcX96ZSGbs0krc4inyZHF9rq+6OT2IUeeZE7CmVh7Fv3mjvkskOC58H9HhkM2S9HfFA== 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=doLl3p56n1H8iM1USjv30IzWXmKcU7FdvmGh9vxqmLw=; b=KXMg02QSxk7egfRNfmyG28tWRNdk3vgbafrTfMefV6SeKYNdPypOC0xHSCypR3fwjodRqp5I2cE4Wcfp9rOFBdWM0SoPugntttWwvTFlAmRvwA+GSuciq15bKMHhG7qq2pcpc1kDo93NR+gGKG3jKP/iC3j86Tt7ov6/cjL8ppPE+YS1JCV5hFkBDauX0u158dNTpQYjWdU62obPI7FfIygUDAJPXkDa/qJn2MBCNZtoyrD5u99Vw2gQaohIl1uzHIMDQfX55SYxyINb2AM+WiK+L45ok2YATc/WECAveo52InupZ+PJxW5+RwQf3lLbBaqLtohpG0kz3z/k1P/JjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=doLl3p56n1H8iM1USjv30IzWXmKcU7FdvmGh9vxqmLw=; b=JpA4QocHeJw/iSw+MX1AsuyWGk0JDCYvhjtwuC2bE3JBzdd9mOWOdjtS9JsxFHW7NksHnuGadiYnfKwha8XnGqAn/l7ICRz7PjqBY2BtzwLHwMHy7qOeZOfn30Sxf+mSxZjNF8Oapf0oHvGCHaPR8V2/zfYa4HLX9tJvsSu6gds= Received: from DM6PR11MB2537.namprd11.prod.outlook.com (2603:10b6:5:cd::16) by DM6PR11MB3884.namprd11.prod.outlook.com (2603:10b6:5:19b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.29; Tue, 12 May 2020 10:19:18 +0000 Received: from DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa]) by DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa%6]) with mapi id 15.20.2979.033; Tue, 12 May 2020 10:19:18 +0000 From: "Iremonger, Bernard" To: Dharmik Thakkar , "Lu, Wenzhuo" , "Wu, Jingjing" CC: "dev@dpdk.org" , "nd@arm.com" Thread-Topic: [PATCH v2 2/5] app/testpmd: print fractional part in CPU cycles Thread-Index: AQHWJYmI8CqUm0WAZ0qQV0ADYEIxWKikQlPQ Date: Tue, 12 May 2020 10:19:18 +0000 Message-ID: References: <20200506215847.7628-1-dharmik.thakkar@arm.com> <20200508223829.3228-1-dharmik.thakkar@arm.com> <20200508223829.3228-2-dharmik.thakkar@arm.com> In-Reply-To: <20200508223829.3228-2-dharmik.thakkar@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.167] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: abcd24b2-907e-4053-5f66-08d7f65dee3b x-ms-traffictypediagnostic: DM6PR11MB3884: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2582; x-forefront-prvs: 0401647B7F x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BfqI1qyInpmEZibHWO9t74Tnj4FzZ5Nt87K/AKdkxs14dsjdmU+gaUwVbCI7py+UN2cXqSsZrrvfk/nQfWUbeuevDo/HLP1k5oYZwhlzJVlTggh4mQpyRQmz0I6IEZhEcFIJ5C3glQcV58poDqq5QWqYlVEfK/HyGtORx30wDQJrYVnalBMfD/UgjHuLEX58oLgc1FEGcS/K1+ek4xzC5mxERZVj7Hao8xE7LJJbBbsgZWMTZ2xN2YlU6ViDH8eNJ7w+rf94jI46BWXiBP2/m51vL2RZUt2Hh+cPLzffQsKId8209JSTDN6DkQrwdY/66OH/0PozUQjTzXac4fHDBTWLcUvPC6dCzTgwxIfUHM2pDbdsSIO1ljj/vjwpKPPPedso1WE07ulorcGexNqdqE/0byHNaMVSoRBrCgUSWSUVHXZqh1FA6r/RLndWK3Z3pT/CZgFcMzknotYpaRkb28KDSc9thGiPyBHk97xFQkDVWDEeow806MINo2abKfUV6P4/3xSDPhRDoTYwF+1Pow== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2537.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(346002)(136003)(376002)(396003)(39860400002)(366004)(33430700001)(316002)(6506007)(9686003)(53546011)(186003)(2906002)(33440700001)(55016002)(4326008)(26005)(5660300002)(6636002)(110136005)(66476007)(52536014)(71200400001)(8676002)(33656002)(7696005)(64756008)(478600001)(54906003)(66946007)(66556008)(8936002)(66446008)(76116006)(86362001)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: XpyqnvyWnd4HL4j7Hw3cQtpnZrm72iq2k8vHZf7MMvN0m+HTY6Zin0Xl8FwQ3pW4gZmyXkbSV5fkW7a4FxyCACJz42TeZJZSRUxt90lCMD5BkSThPfhT/xSjmn9kMDm0cFTVwCkghTcZcSGrj3g6s3yuPDN0GWtgj5zo19kMxY4W+31l3EZ5L/RhEIJH/N//8cg951UX5ChvEzz9KJA+bK0mNsJQvwypJ1lR/Q1cXz/mOt+DY2A8G1y9iPPYsV6sWpgSwFjWcGuVTi0St05WlZQjCl2Ph2RlSJsBbI1ggsDBOgEc4VZ3x0ZdWUr/5QfhmE4r6GC1mLu2P/yVPv/gyVdrBMliktd4e9S27SK+fw75v+UqIU/+L85kwVHv7scj9uI7dQ+c7NvhYCDDICCA7r1wdkVx1XzyhDhDnLkm+vyHyTYr/sGRF+FSp1oOtrlRNuG7xX6AJEvelrC83gwCrGzaasw3nit0kdlA3j/fPDNjoUWl5zQ6m9GexCKbKHYg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: abcd24b2-907e-4053-5f66-08d7f65dee3b X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2020 10:19:18.4435 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: t09/XwzgRr5lEeP4A6bxH17UDdtikI8CTSGcWAmGOSJuVCpvHWaqZM5ZorSBodSHUH0yvfpEnpFvzyqBf3RlaQgSenyri+BpAjxY4xYSmvA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3884 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 2/5] app/testpmd: print fractional part in CPU cycles 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" > -----Original Message----- > From: Dharmik Thakkar > Sent: Friday, May 8, 2020 11:38 PM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > > Cc: dev@dpdk.org; nd@arm.com; Dharmik Thakkar > > Subject: [PATCH v2 2/5] app/testpmd: print fractional part in CPU cycles >=20 > Change printing of CPU cycles/packet to include fractional part for > accurateness. >=20 > Example: >=20 > Without patch: > CPU cycles/packet=3D14 > (total cycles=3D4899533541 / total RX packets=3D343031966) >=20 > With patch: > CPU cycles/packet=3D14.28 > (total cycles=3D4899533541 / total RX packets=3D343031966) >=20 > Signed-off-by: Dharmik Thakkar > Reviewed-by: Honnappa Nagarahalli > Reviewed-by: Phil Yang Acked-by: Bernard Iremonger