|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __VOM_STAT_CLIENT_H__
17 #define __VOM_STAT_CLIENT_H__
157 void vec_free(
void* vec);
177 std::vector<std::string> m_patterns;
187 uint32_t* m_counter_vec;
int connect()
Connect to stat segment.
The VPP Object Model (VOM) library.
const std::string & name() const
get name of stat
const stat_directory_type_t & type() const
get type of stat
counter_t ** m_simple_counter_vec
uint64_t * get_stat_segment_error_data() const
vlib_counter_t ** get_stat_segment_combined_counter_data() const
void disconnect()
Disconnect to stat segment.
Combined counter to hold both packets and byte differences.
int vec_len(void *vec)
Get vector length of VPP style vector.
vlib_counter_t ** m_combined_counter_vec
double get_stat_segment_scalar_data() const
Get pointer to actual data.
stat_data_t(const stat_segment_data_t &stat_seg_data)
stat data custom constructor
std::vector< stat_data_t > stat_data_vec_t
vector of stat_data_t
stat_client()
Stat Client constructor.
uint64_t ** get_stat_segment_simple_counter_data() const
A representation of a stat client in VPP.
const stat_data_vec_t & dump()
dump all the stats for given pattern
std::string index_to_name(uint32_t index)
get index to name of stat
const stat_data_vec_t & dump_entry(uint32_t index)
dump stats for given index in stat directory
~stat_client()
Stat Client destructor.