summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-03-09 20:54:43 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-03-10 19:24:44 +0000
commit8d55247297a335241097cc503a99854bbc79d4cd (patch)
tree3595a2143abd6d108cc5f17e81e87544b76729dc /src
parent67a99f8927c3807c8731e00107dff72bc6b6cde2 (diff)
gmon: fix code commented out by mistake
Change-Id: If540787e2443330673ad6721094c4765c32ef59b Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-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;