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 0999742C5E; Thu, 8 Jun 2023 15:12:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEFA8406B5; Thu, 8 Jun 2023 15:11:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1F49840042 for ; Thu, 8 Jun 2023 15:11:58 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3587nHGw023576; Thu, 8 Jun 2023 06:11:58 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r329c2u4k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 06:11:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SYluZY73H85th+gODFeoKHakOxDECm9/FQTFMnQr8WXPG4EM1/L6GBy3N1Gsle5w9THIGGPs/FGfBb833sIY0nBVNshCH2xRmUr/fURE+QIwV1++ia2rbDnqrdLQnnicj1tHfG4w0IN9nJVPD06D4+OhyB8LXfjAQidVS9As3iIOWg3RCBNPF6sxI09sLpj0VDeU57J4yw6bqy+ENTVAtSQqlc3kR8lqz+EGsGzxUPNJqL9JZakgq1YOgkeuRhepsgledwg9dK7cPR4pJ8Bw/h6EtpUeKsY52kX6iOp61vU180tzZvXiAjRyx9FVt/ppgGpKXKtke5aYvMSLfaX0xw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YILPyJZPt0Go6OZ8imhq2C/apIlGjJiAtABll51jVFQ=; b=F0cyko3VFxKD0Og0eXPvn+PO6EsFEhl2HYn5u0d0y5/siJcPb5t5qqJ6a3jYfxxmRKBTmF2rfwZtPhe1WWCQ3ft+PLI0GiMocoUac/k+UIoHbgez1aoRVmxcvzzBB4H9ep6Lq+ObCG0N5eL3CJ3D5U7JafZ1Qcp5GMVXnjKuGi7Dh9/msQEOfoxXaKOtM5K+kh+IwXH1D1bqP/6xYUdqeX6Jef+wNGxA/utR6ZovsQIoMbZdcqgASspCo8MCsAJKVjtSjV8hoK3iJXRS++t/kbxg7SK5T+zXTNE1xDzSFxrtXWHXU8eF6O9QbtSf5nLSydJ1pkVGzH9q1wmEmXwE9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YILPyJZPt0Go6OZ8imhq2C/apIlGjJiAtABll51jVFQ=; b=eeDjLsidR/kEhFILAPifY+e2nxAOGAykJt/O/l5ZZjTD8f81uU2fdgW57fv4VuuioH0lTzBoX7oMNF0xLsRDppZI2LnWcxBULqu6oTPBxEdH/hw4AVSltMPbcg6qf8BJewoDZLzpmCi0+lmWSQbCqf/MiJK60Ez24+/fNrSihxA= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by PH0PR18MB5072.namprd18.prod.outlook.com (2603:10b6:510:16c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Thu, 8 Jun 2023 13:11:55 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89%6]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 13:11:54 +0000 From: Pavan Nikhilesh Bhagavatula To: Zhirun Yan , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , "stephen@networkplumber.org" , "jerinjacobk@gmail.com" CC: "cunming.liang@intel.com" , "haiyue.wang@intel.com" , "mattias.ronnblom@ericsson.com" Subject: RE: [EXT] [PATCH v10 14/16] graph: add stats for mcore dispatch model Thread-Topic: [EXT] [PATCH v10 14/16] graph: add stats for mcore dispatch model Thread-Index: AQHZmfDQeEL457Xs+kKiJTt8JJySs6+A4aag Date: Thu, 8 Jun 2023 13:11:54 +0000 Message-ID: References: <20230607035144.1214492-1-zhirun.yan@intel.com> <20230608095759.1800617-1-zhirun.yan@intel.com> <20230608095759.1800617-15-zhirun.yan@intel.com> In-Reply-To: <20230608095759.1800617-15-zhirun.yan@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccGJoYWdhdmF0?= =?us-ascii?Q?dWxhXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctMDg4NTE4NzgtMDVmZS0xMWVlLWI2Y2Ut?= =?us-ascii?Q?NGMwMzRmNWZhYTMyXGFtZS10ZXN0XDA4ODUxODdhLTA1ZmUtMTFlZS1iNmNl?= =?us-ascii?Q?LTRjMDM0ZjVmYWEzMmJvZHkudHh0IiB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tering-correlation-id: ab53cfd4-a228-43cb-fc48-08db6821ee72 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gtYSXA1mir5YX+IbZN/P0HvyRtodpyj0rIaUe+XlXopI/F1xp9Dq8XLaeSAVrNUnjGSKTJA9XZL8iYjswtIqpnyN4+7j9IYReYcz903vNhIOivOdwC3rmcbKok9fyqcQkHc+mh0yH0yulxsiDy0fjlf1Bb4ChuHbe9Me9jdBXcY3aAMGFa6RPk96/wuoMjEsnk5aUiO0ZoOjp/os5uWfb5kXLO7NnXrYlC4Sgn6Oe14vl+IZfeN+jC6+ZX5MT1e0Xhnry7383R4wvb4djIzfhs9ALAi5nJhBN7QWYnN2MmAi2F7x4HQtpdvRCwR0m9eBPkEcDDAgxaW/LISXNFZAnYG2eW6mxI77XvSuAkrmB6uL20clW1P7yp7FxHp53dByyqOuQcm9k/Jn9eo8/CiVhODr2h/MAqhsGH5TENpsQg5neGVML46UY0Q5TGH/rdtsGqYfGo1UJIVq0B2WcxTT83iRrQOOTbvX9Pw/s+W1rltVcXY6rG806bvrwqT/oRpjRgE27PtwspuUnwIJDFdrJwiio+0cmnNlv+HDFoIcnGnlErlVbCgQ4PraCF/NkinYCm5vePUZobPtH6k4lOMGq2k41w1mmg0g7I3lW/Gq8nC9OAlC5A6kbhuMBBhoiqVp x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(376002)(396003)(346002)(366004)(39860400002)(451199021)(316002)(7696005)(41300700001)(86362001)(83380400001)(38070700005)(9686003)(186003)(6506007)(26005)(33656002)(2906002)(122000001)(38100700002)(55016003)(52536014)(5660300002)(8936002)(8676002)(66946007)(76116006)(54906003)(478600001)(110136005)(71200400001)(64756008)(66556008)(66446008)(66476007)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Bbe67qwce2lwNY/e7Gi0p7do+Jr36XQiYnW7DWReP5Tu39CwVfO7QndHOOUo?= =?us-ascii?Q?kcPRD4I/GtWoVuRQ4kpYBhB5lZTjp29/yUbVwyekVDj95TQWJ7AM0emJyT/V?= =?us-ascii?Q?gYuZw6/ksIvHeZcpYV0K8Fj/Z1q5wVJ6u3qEZpCO6xXPJq0OZEiFBlxPlIzh?= =?us-ascii?Q?DDMM8sqjeOobb8UZwtYy9wHs3cgPRFzydpSHrjGR1TLPCUVkXXXvNHVoV9y+?= =?us-ascii?Q?Okqxi1/MRylyROgisKaclI+IGNYdnyCqBwgJfWOhvBzUTyWKAUxnge9JP3gz?= =?us-ascii?Q?vBRbmfw//t3ocea9OBI3lWVUIVfow39uoor0kNQSBcsbxBCLY57GP1bho04G?= =?us-ascii?Q?SiqhcHSusiYsCTbjiJ0Ca/BMPACpkcFEk3FAsDbgXPp0h8UZ8ATzmOubNzJT?= =?us-ascii?Q?+o+5x9hjTfi4Y/7HBgexJA9MdWwaVTq0rTbXGE9YkHrjTtMwg0I28YBdNqTT?= =?us-ascii?Q?wyC6C4VgyPb5E1b3FjV5eNP5SWFxfol2cbtKBJ3nmmJtfqp6MkwjmpwkTGGB?= =?us-ascii?Q?QexpNzaPurXESjs6hDH3a04kCxa8MXl49WpDlX4KDzyduWke1xwvv9I5UtSp?= =?us-ascii?Q?gfjOy3OJ1YgblFv3lSbzArJzxTKRP6jhSRu3J4lSnOMNcllLE4TosKKRyU3+?= =?us-ascii?Q?B+HNYTSubVxPAvxtYd24IhrZXlEaWU3l9V6zi6+RM2xDUdJdbIQLDhK+5wap?= =?us-ascii?Q?XUKQsihbW86Pl8fWklre4vVAcCM4X3LWIK/Nqgt53dRXkdN00mMgLdQAHuK3?= =?us-ascii?Q?QtZ8il61ENvM3RdYeVed8iv4rg6lvIhfaNrLCNw8h5XJQaZYkB/5BHyyk5jJ?= =?us-ascii?Q?JNe55nRIZ3Co9Mwb8wu7L8B7/iXIMFOpIhWgC+Y9AVO9pp1S+M6k8NcoQmhi?= =?us-ascii?Q?qdKABycVwZ6xX3qB90KT2Wcgjb5RAii+/YBW/kp7fNik7BSVgF6nHBNmAWmL?= =?us-ascii?Q?uPW2Rv60AR/7FYbi146anPIdSOLf8IrbDyImssqC+JEwuLaS3ZVrMzHfjafa?= =?us-ascii?Q?/el1EY0XO+Nl1BDnD3OVBXXcxr1A4xoiltAtzN+zH7JCkC+kUH+I/XEXMP5D?= =?us-ascii?Q?28uJ6mZECcSZn046A4Nwm6tEC1MBYArx3BdmvIIHkpvcpoAhD3fkvCrFyUUH?= =?us-ascii?Q?uwNIVN5q8bFvpI09wqUf6kiAolEqOtoTDaJmEpn3OfoqN0dlhmw8VJ1hiy3/?= =?us-ascii?Q?FyxS7kv/xHqTIr2HQ1nUHPObiwlV9ut6zY1Q9bA5h0IiB8ptoeFlv8h2qDdY?= =?us-ascii?Q?mIPhO4mOExcJNskxaMDvSSzFvMWhspgzJmjzNR2mxafLmVUFm8v5RvIQnqlS?= =?us-ascii?Q?A9lc8qKbf2lNd0dPYx5VIocOSCVzzvr/Nw97GHRuwPvGwNrzkMYEkqk6AuQm?= =?us-ascii?Q?HXDqZI4IUXGaJQmEj2nfSpJZ8cbMBQBA5763YFiP4lAKM3s2F1lq4/volUF0?= =?us-ascii?Q?I2ydPlgFa0pcvgcEN7ViQN9/Q7qZLIXNK8kv8/Fs681Ae/TB9qqFIiI5SGIM?= =?us-ascii?Q?aNYSUmNDJsbqnciQQL7aIXkDWwx+rduy6h4JD/HxF934xUM2PKPs6izbDsir?= =?us-ascii?Q?AJ5+Lw3+XErBv6qbM+aUG5m9Xqsa58X8ZugwGjJU?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab53cfd4-a228-43cb-fc48-08db6821ee72 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 13:11:54.6554 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JxMIto8GyY0yN13V7XgKuTcS4sAonVyaWrOqHlnyMBHwPRKYsDe05B9NcKkg+23HpFvxk0lVxl/6UowxNppgmJPXFduRMsYJO4HtmGGsGjk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB5072 X-Proofpoint-GUID: EZm7wi2kpKBS4Kn4gVK0GUseGMGi0fdA X-Proofpoint-ORIG-GUID: EZm7wi2kpKBS4Kn4gVK0GUseGMGi0fdA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-08_09,2023-06-08_01,2023-05-22_02 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 > Add stats for mcore dispatch model if stats collection is > enabled. >=20 > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > Acked-by: Jerin Jacob Acked-by: Pavan Nikhilesh > --- > lib/graph/graph_debug.c | 6 ++ > lib/graph/graph_stats.c | 76 +++++++++++++++++++--- > lib/graph/rte_graph.h | 10 +++ > lib/graph/rte_graph_model_mcore_dispatch.c | 3 + > lib/graph/rte_graph_worker_common.h | 2 + > 5 files changed, 89 insertions(+), 8 deletions(-) >=20 > diff --git a/lib/graph/graph_debug.c b/lib/graph/graph_debug.c > index b84412f5dd..9def3067ec 100644 > --- a/lib/graph/graph_debug.c > +++ b/lib/graph/graph_debug.c > @@ -74,6 +74,12 @@ rte_graph_obj_dump(FILE *f, struct rte_graph *g, bool > all) > fprintf(f, " size=3D%d\n", n->size); > fprintf(f, " idx=3D%d\n", n->idx); > fprintf(f, " total_objs=3D%" PRId64 "\n", n->total_objs); > + if (rte_graph_worker_model_get(g) =3D=3D > RTE_GRAPH_MODEL_MCORE_DISPATCH) { > + fprintf(f, " total_sched_objs=3D%" PRId64 "\n", > + n->dispatch.total_sched_objs); > + fprintf(f, " total_sched_fail=3D%" PRId64 "\n", > + n->dispatch.total_sched_fail); > + } > fprintf(f, " total_calls=3D%" PRId64 "\n", n->total_calls); > for (i =3D 0; i < n->nb_edges; i++) > fprintf(f, " edge[%d] <%s>\n", i, > diff --git a/lib/graph/graph_stats.c b/lib/graph/graph_stats.c > index c0140ba922..cc32245c05 100644 > --- a/lib/graph/graph_stats.c > +++ b/lib/graph/graph_stats.c > @@ -40,13 +40,19 @@ struct rte_graph_cluster_stats { > struct cluster_node clusters[]; > } __rte_cache_aligned; >=20 > +#define boarder_model_dispatch() = \ > + fprintf(f, "+-------------------------------+---------------+--------" = \ > + "-------+---------------+---------------+---------------+" \ > + "---------------+---------------+-" \ > + "----------+\n") > + > #define boarder() = \ > fprintf(f, "+-------------------------------+---------------+--------" = \ > "-------+---------------+---------------+---------------+-" \ > "----------+\n") >=20 > static inline void > -print_banner(FILE *f) > +print_banner_default(FILE *f) > { > boarder(); > fprintf(f, "%-32s%-16s%-16s%-16s%-16s%-16s%-16s\n", "|Node", > "|calls", > @@ -55,6 +61,28 @@ print_banner(FILE *f) > boarder(); > } >=20 > +static inline void > +print_banner_dispatch(FILE *f) > +{ > + boarder_model_dispatch(); > + fprintf(f, "%-32s%-16s%-16s%-16s%-16s%-16s%-16s%-16s%-16s\n", > + "|Node", "|calls", > + "|objs", "|sched objs", "|sched fail", > + "|realloc_count", "|objs/call", "|objs/sec(10E6)", > + "|cycles/call|"); > + boarder_model_dispatch(); > +} > + > +static inline void > +print_banner(FILE *f) > +{ > + if > (rte_graph_worker_model_get(STAILQ_FIRST(graph_list_head_get())- > >graph) =3D=3D > + RTE_GRAPH_MODEL_MCORE_DISPATCH) > + print_banner_dispatch(f); > + else > + print_banner_default(f); > +} > + > static inline void > print_node(FILE *f, const struct rte_graph_cluster_node_stats *stat) > { > @@ -76,11 +104,22 @@ print_node(FILE *f, const struct > rte_graph_cluster_node_stats *stat) > objs_per_sec =3D ts_per_hz ? (objs - prev_objs) / ts_per_hz : 0; > objs_per_sec /=3D 1000000; >=20 > - fprintf(f, > - "|%-31s|%-15" PRIu64 "|%-15" PRIu64 "|%-15" PRIu64 > - "|%-15.3f|%-15.6f|%-11.4f|\n", > - stat->name, calls, objs, stat->realloc_count, objs_per_call, > - objs_per_sec, cycles_per_call); > + if > (rte_graph_worker_model_get(STAILQ_FIRST(graph_list_head_get())- > >graph) =3D=3D > + RTE_GRAPH_MODEL_MCORE_DISPATCH) { > + fprintf(f, > + "|%-31s|%-15" PRIu64 "|%-15" PRIu64 "|%-15" > PRIu64 > + "|%-15" PRIu64 "|%-15" PRIu64 > + "|%-15.3f|%-15.6f|%-11.4f|\n", > + stat->name, calls, objs, stat->dispatch.sched_objs, > + stat->dispatch.sched_fail, stat->realloc_count, > objs_per_call, > + objs_per_sec, cycles_per_call); > + } else { > + fprintf(f, > + "|%-31s|%-15" PRIu64 "|%-15" PRIu64 "|%-15" > PRIu64 > + "|%-15.3f|%-15.6f|%-11.4f|\n", > + stat->name, calls, objs, stat->realloc_count, > objs_per_call, > + objs_per_sec, cycles_per_call); > + } > } >=20 > static int > @@ -88,13 +127,20 @@ graph_cluster_stats_cb(bool is_first, bool is_last, > void *cookie, > const struct rte_graph_cluster_node_stats *stat) > { > FILE *f =3D cookie; > + int model; > + > + model =3D > rte_graph_worker_model_get(STAILQ_FIRST(graph_list_head_get())- > >graph); >=20 > if (unlikely(is_first)) > print_banner(f); > if (stat->objs) > print_node(f, stat); > - if (unlikely(is_last)) > - boarder(); > + if (unlikely(is_last)) { > + if (model =3D=3D RTE_GRAPH_MODEL_MCORE_DISPATCH) > + boarder_model_dispatch(); > + else > + boarder(); > + } >=20 > return 0; > }; > @@ -333,12 +379,20 @@ cluster_node_arregate_stats(struct cluster_node > *cluster) > { > uint64_t calls =3D 0, cycles =3D 0, objs =3D 0, realloc_count =3D 0; > struct rte_graph_cluster_node_stats *stat =3D &cluster->stat; > + uint64_t sched_objs =3D 0, sched_fail =3D 0; > struct rte_node *node; > rte_node_t count; > + int model; >=20 > + model =3D > rte_graph_worker_model_get(STAILQ_FIRST(graph_list_head_get())- > >graph); > for (count =3D 0; count < cluster->nb_nodes; count++) { > node =3D cluster->nodes[count]; >=20 > + if (model =3D=3D RTE_GRAPH_MODEL_MCORE_DISPATCH) { > + sched_objs +=3D node->dispatch.total_sched_objs; > + sched_fail +=3D node->dispatch.total_sched_fail; > + } > + > calls +=3D node->total_calls; > objs +=3D node->total_objs; > cycles +=3D node->total_cycles; > @@ -348,6 +402,12 @@ cluster_node_arregate_stats(struct cluster_node > *cluster) > stat->calls =3D calls; > stat->objs =3D objs; > stat->cycles =3D cycles; > + > + if (model =3D=3D RTE_GRAPH_MODEL_MCORE_DISPATCH) { > + stat->dispatch.sched_objs =3D sched_objs; > + stat->dispatch.sched_fail =3D sched_fail; > + } > + > stat->ts =3D rte_get_timer_cycles(); > stat->realloc_count =3D realloc_count; > } > diff --git a/lib/graph/rte_graph.h b/lib/graph/rte_graph.h > index 2ffee520b1..28e50e49b8 100644 > --- a/lib/graph/rte_graph.h > +++ b/lib/graph/rte_graph.h > @@ -220,6 +220,16 @@ struct rte_graph_cluster_node_stats { > uint64_t prev_objs; /**< Previous number of processed objs. */ > uint64_t prev_cycles; /**< Previous number of cycles. */ >=20 > + RTE_STD_C11 > + union { > + struct { > + uint64_t sched_objs; > + /**< Previous number of scheduled objs for dispatch > model. */ > + uint64_t sched_fail; > + /**< Previous number of failed schedule objs for > dispatch model. */ > + } dispatch; > + }; > + > uint64_t realloc_count; /**< Realloc count. */ >=20 > rte_node_t id; /**< Node identifier of stats. */ > diff --git a/lib/graph/rte_graph_model_mcore_dispatch.c > b/lib/graph/rte_graph_model_mcore_dispatch.c > index 8f4bc860ab..d1291b8c57 100644 > --- a/lib/graph/rte_graph_model_mcore_dispatch.c > +++ b/lib/graph/rte_graph_model_mcore_dispatch.c > @@ -96,6 +96,7 @@ __graph_sched_node_enqueue(struct rte_node > *node, struct rte_graph *graph) > rte_pause(); >=20 > off +=3D size; > + node->dispatch.total_sched_objs +=3D size; > node->idx -=3D size; > if (node->idx > 0) > goto submit_again; > @@ -107,6 +108,8 @@ __graph_sched_node_enqueue(struct rte_node > *node, struct rte_graph *graph) > memmove(&node->objs[0], &node->objs[off], > node->idx * sizeof(void *)); >=20 > + node->dispatch.total_sched_fail +=3D node->idx; > + > return false; > } >=20 > diff --git a/lib/graph/rte_graph_worker_common.h > b/lib/graph/rte_graph_worker_common.h > index d6a16dc7e3..a6bae4c6a5 100644 > --- a/lib/graph/rte_graph_worker_common.h > +++ b/lib/graph/rte_graph_worker_common.h > @@ -110,6 +110,8 @@ struct rte_node { > /* Fast schedule area for mcore dispatch model */ > struct { > unsigned int lcore_id; /**< Node running lcore. */ > + uint64_t total_sched_objs; /**< Number of objects > scheduled. */ > + uint64_t total_sched_fail; /**< Number of scheduled > failure. */ > } dispatch; > }; > /* Fast path area */ > -- > 2.37.2