summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vpp/api/gmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vpp/api/gmon.c b/src/vpp/api/gmon.c
index 277be8c0af8..6b33373070d 100644
--- a/src/vpp/api/gmon.c
+++ b/src/vpp/api/gmon.c
@@ -132,8 +132,7 @@ gmon_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f)
*gm->vector_rate_ptr = vector_rate;
now = vlib_time_now (vm);
dt = now - last_runtime;
- // TODO
- //input_packets = vnet_get_aggregate_rx_packets ();
+ input_packets = vnet_get_aggregate_rx_packets ();
*gm->input_rate_ptr = (f64) (input_packets - last_input_packets) / dt;
last_runtime = now;
last_input_packets = input_packets;