Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
67a99f8
)
gmon: fix code commented out by mistake
93/5693/5
author
Damjan Marion
<damarion@cisco.com>
Thu, 9 Mar 2017 19:54:43 +0000
(20:54 +0100)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 10 Mar 2017 19:24:44 +0000
(19:24 +0000)
Change-Id: If540787e2443330673ad6721094c4765c32ef59b
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vpp/api/gmon.c
patch
|
blob
|
history
diff --git
a/src/vpp/api/gmon.c
b/src/vpp/api/gmon.c
index
277be8c
..
6b33373
100644
(file)
--- 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;