Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tcp: move tracing out of established loop
[vpp.git]
/
src
/
vpp
/
app
/
stat_client.h
diff --git
a/src/vpp/app/stat_client.h
b/src/vpp/app/stat_client.h
index
9cec1ee
..
97bd3f9
100644
(file)
--- a/
src/vpp/app/stat_client.h
+++ b/
src/vpp/app/stat_client.h
@@
-18,10
+18,6
@@
#include <vlib/vlib.h>
#include <vppinfra/socket.h>
#include <svm/ssvm.h>
#include <vlib/vlib.h>
#include <vppinfra/socket.h>
#include <svm/ssvm.h>
-#include <vlibapi/api.h>
-#include <vlibmemory/api.h>
-#include <vlibmemory/socket_api.h>
-#include <vlibmemory/socket_client.h>
#include <vpp/stats/stats.h>
typedef struct
#include <vpp/stats/stats.h>
typedef struct
@@
-31,6
+27,8
@@
typedef struct
/* Cached pointers to scalar quantities, these wont change */
f64 *vector_rate_ptr;
f64 *input_rate_ptr;
/* Cached pointers to scalar quantities, these wont change */
f64 *vector_rate_ptr;
f64 *input_rate_ptr;
+ f64 *last_runtime_ptr;
+ f64 *last_runtime_stats_clear_ptr;
volatile int segment_ready;
volatile int segment_ready;
@@
-40,6
+38,7
@@
typedef struct
*/
vlib_counter_t **intfc_rx_counters;
vlib_counter_t **intfc_tx_counters;
*/
vlib_counter_t **intfc_rx_counters;
vlib_counter_t **intfc_tx_counters;
+ u8 *serialized_nodes;
u64 *thread_0_error_counts;
u64 source_address_match_error_index;
u64 *thread_0_error_counts;
u64 source_address_match_error_index;
@@
-47,9
+46,6
@@
typedef struct
/* mapped stats segment object */
ssvm_private_t stat_segment;
/* mapped stats segment object */
ssvm_private_t stat_segment;
- /* Socket client object */
- socket_client_main_t *socket_client_main;
-
/* Spinlock for the stats segment */
clib_spinlock_t *stat_segment_lockp;
/* Spinlock for the stats segment */
clib_spinlock_t *stat_segment_lockp;