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 5B361A0540; Wed, 23 Nov 2022 12:52:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E617242D84; Wed, 23 Nov 2022 12:52:35 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id A9A6840E5A for ; Wed, 23 Nov 2022 12:52:34 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: [RFC PATCH 2/4] eal: allow applications to report their cpu utilization Date: Wed, 23 Nov 2022 12:52:31 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D874ED@smartserver.smartshare.dk> In-Reply-To: <20221123101931.1688238-3-rjarry@redhat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC PATCH 2/4] eal: allow applications to report their cpu utilization Thread-Index: Adj/JSLUxmr6b+lfReeZ2uBX8J4RCQABvFbA References: <20221123101931.1688238-1-rjarry@redhat.com> <20221123101931.1688238-3-rjarry@redhat.com> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Robin Jarry" , Cc: "Bruce Richardson" , "Jerin Jacob" , "Kevin Laatz" , "Konstantin Ananyev" , =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= 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 PiBGcm9tOiBSb2JpbiBKYXJyeSBbbWFpbHRvOnJqYXJyeUByZWRoYXQuY29tXQ0KPiBTZW50OiBX ZWRuZXNkYXks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