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(-)

-- 
2.52.0

Reply via email to