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 EC01D42B8A; Wed, 24 May 2023 10:09:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E83C40ED8; Wed, 24 May 2023 10:09:05 +0200 (CEST) Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com [209.85.221.171]) by mails.dpdk.org (Postfix) with ESMTP id 8A4E14067E for ; Wed, 24 May 2023 10:09:04 +0200 (CEST) Received: by mail-vk1-f171.google.com with SMTP id 71dfb90a1353d-45701a8a1b3so245286e0c.3 for ; Wed, 24 May 2023 01:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684915744; x=1687507744; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jrpZCrdc2KQQov4oR73Nvka0rnN7KyndufraJrxE+BI=; b=Q+l/mOl4hrdRnjLid70uxJChzNxH4QXml+G1iJ9kdRkQh3D/Y7FJcDm++AJl6HsRL3 3zbC4C5WrBw4GUAmeRx9RNPk20tdDrlHfYZTmsQKQyf7gki7gjr/g1LgGOkd50tcAiak /ez+tO7FQrLglxNICsBrvebQrM9vvubBZnGkgEkkDsqSSK881oGvMzCjKXgrF0NjF8TR kZJPW7aPrBPX7K9ELkDluuC2RKIet+ZQB44SQ/8euX0vC2VIR8TltDrrlautpfMEF0YM L/uDoTxICXrJlJtMFVMPeH8WUrt46557hnGfYa+rqBynBfWHtpHXCpnfV1WLZmV3q1G+ unQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684915744; x=1687507744; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jrpZCrdc2KQQov4oR73Nvka0rnN7KyndufraJrxE+BI=; b=PTzkGV/skOIrR84EycIvH2Sua0KSnQ5Ze+p1p4Z5LCJtHqimeCQAxTU+JlK2A2TPZd cOQsG76aB/26X9QEhF1YnvgAFYQIAemF7UvMgEkrAmS2nU9F+I5Tjd0UwQIAbj05BqTp riEutlMxG4EeBnrqOzXhn0I15LfAaO1l5e1QrE8mpfruZBDHLusz+2KeWDTc0lI95ljY 4D7TEJY2C5mSiWIWQDhEBGCb/knhHVpoOCKjM7EYDar0RirDTw/0+HwbGCC4xSdhFTFv Wpu7M017Rhx0gz0QEGa9cTVaK2tS5C5/8yJv2zVrNfv+UU1cvzDSZz7s52rqTdYIwXBj fgmA== X-Gm-Message-State: AC+VfDwsvJ3//T6UelTinKY5CW2r6AC5MYYADRS6OSvC0/qRt5RTPWpG 45nzw+C7eqB3lWKW9nHVElxjiVKEFDh+c7+nE34= X-Google-Smtp-Source: ACHHUZ4meINCKfT/fMvVQrtYi3wp2zUk0jDmpWfU0Gtxp6oPJWY1E1qWZYZCvixWyUn8EkYP/NujndQDupWSLcelv5I= X-Received: by 2002:a1f:60d7:0:b0:456:f5b3:51cd with SMTP id u206-20020a1f60d7000000b00456f5b351cdmr4891675vkb.0.1684915743718; Wed, 24 May 2023 01:09:03 -0700 (PDT) MIME-Version: 1.0 References: <20230331040306.3143693-1-zhirun.yan@intel.com> <20230509060347.1237884-1-zhirun.yan@intel.com> <20230509060347.1237884-14-zhirun.yan@intel.com> In-Reply-To: <20230509060347.1237884-14-zhirun.yan@intel.com> From: Jerin Jacob Date: Wed, 24 May 2023 13:38:36 +0530 Message-ID: Subject: Re: [PATCH v6 13/15] graph: add stats for cross-core dispatching To: Zhirun Yan Cc: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com, ndabilpuram@marvell.com, stephen@networkplumber.org, pbhagavatula@marvell.com, cunming.liang@intel.com, haiyue.wang@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Tue, May 9, 2023 at 11:35=E2=80=AFAM Zhirun Yan w= rote: > > Add stats for cross-core dispatching scheduler if stats collection is > enabled. > > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > diff --git a/lib/graph/rte_graph.h b/lib/graph/rte_graph.h > index 0ac764daf8..ee6c970ca4 100644 > --- a/lib/graph/rte_graph.h > +++ b/lib/graph/rte_graph.h > @@ -219,6 +219,8 @@ struct rte_graph_cluster_node_stats { > uint64_t prev_calls; /**< Previous number of calls. */ > uint64_t prev_objs; /**< Previous number of processed objs. *= / > uint64_t prev_cycles; /**< Previous number of cycles. */ > + uint64_t sched_objs; /**< Previous number of scheduled objs. *= / > + uint64_t sched_fail; /**< Previous number of failed schedule o= bjs. */ Add comment to specify it is for mcore_dispatch model. Also make it as anonymous union so that later we can add new item for other model.