From 156158f06d725d9301940783dff8ccdcc4a01b9b Mon Sep 17 00:00:00 2001 From: Arthur de Kerhor Date: Thu, 18 Feb 2021 03:09:42 -0800 Subject: vlib: graphviz upgrade to allow filters Possibility to draw only the active nodes on the graph. These are scaled and colored according to their utilization. Type: improvement Signed-off-by: Arthur de Kerhor Change-Id: I7ddb7b62b3a141cb03750dca24f044138fcc577f --- src/vlib/node_funcs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vlib/node_funcs.h') diff --git a/src/vlib/node_funcs.h b/src/vlib/node_funcs.h index 386e9168fa0..d65fd2e061d 100644 --- a/src/vlib/node_funcs.h +++ b/src/vlib/node_funcs.h @@ -1200,6 +1200,12 @@ void vlib_start_process (vlib_main_t * vm, uword process_index); /* Sync up runtime and main node stats. */ void vlib_node_sync_stats (vlib_main_t * vm, vlib_node_t * n); +void vlib_node_runtime_sync_stats (vlib_main_t *vm, vlib_node_runtime_t *r, + uword n_calls, uword n_vectors, + uword n_clocks); +void vlib_node_runtime_sync_stats_node (vlib_node_t *n, vlib_node_runtime_t *r, + uword n_calls, uword n_vectors, + uword n_clocks); /* Node graph initialization function. */ clib_error_t *vlib_node_main_init (vlib_main_t * vm); -- cgit 1.2.3-korg