From: Damjan Marion Date: Thu, 9 Mar 2017 19:54:43 +0000 (+0100) Subject: gmon: fix code commented out by mistake X-Git-Tag: v17.04-rc1~62 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=8d55247297a335241097cc503a99854bbc79d4cd;p=vpp.git gmon: fix code commented out by mistake Change-Id: If540787e2443330673ad6721094c4765c32ef59b Signed-off-by: Damjan Marion --- 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;