Skip to content

Flexible graph nodes stats collection

Robin Jarry dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2graph: always count objects and callslib/graph/rte_graph_worker_common.h+3 -310 replies
2/2graph: allow enabling/disabling node visit cycles collectionlib/graph/graph_populate.c lib/graph/rte_graph_worker_common.h+17 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH dpdk 0/2] Flexible graph nodes stats collection

Currently, the collection of statistics is fixed at compile time and encompasses the number of cycles and number of node visits/calls and processed objects.

While having fine grained statistics is a useful tool, calling accessing rte_rdtsc() twice per node can be costly.

This series brings more flexibility and allows to always collect the number of objects and node visits regardless of the compile time constants. Node cycles collection can be enabled at runtime per-graph.

Robin Jarry (2):
graph: always count objects and calls
graph: allow enabling/disabling node visit cycles collection

 lib/graph/graph_populate.c          |  1 +
 lib/graph/rte_graph_worker_common.h | 24 +++++++++++++++++++-----
 2 files changed, 20 insertions(+), 5 deletions(-)
Signature · 1 line
2.52.0