From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 60A7EA0540; Tue, 13 Dec 2022 17:39:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45F7E40146; Tue, 13 Dec 2022 17:39:46 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 60A3C400D5 for ; Tue, 13 Dec 2022 17:39:44 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [PATCH 2/4] eal: allow applications to report their cpu usage Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Tue, 13 Dec 2022 17:39:41 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87592@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 2/4] eal: allow applications to report their cpu usage Thread-Index: AdkPCoPVvO/KI50IRHaq7ST63nqjvAABA4fw References: <20221123102612.1688865-1-rjarry@redhat.com> <20221207162124.769994-1-rjarry@redhat.com> <20221207162124.769994-3-rjarry@redhat.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Robin Jarry" , Cc: "Kevin Laatz" , X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiBGcm9tOiBSb2JpbiBKYXJyeSBbbWFpbHRvOnJqYXJyeUByZWRoYXQuY29tXQ0KPiBTZW50OiBU dWVzZGF5LCAxMyBEZWNlbWJlciAyMDIyIDE2LjUwDQo+IA0KPiBSb2JpbiBKYXJyeSwgRGVjIDA3 LCAyMDIyIGF0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