#include <XstatsHelper.hpp>
Definition at line 8 of file XstatsHelper.hpp.
◆ IfaceXstats()
dunedaq::dpdklibs::IfaceXstats::IfaceXstats |
( |
| ) |
|
|
inline |
◆ ~IfaceXstats()
dunedaq::dpdklibs::IfaceXstats::~IfaceXstats |
( |
| ) |
|
|
inline |
Definition at line 10 of file XstatsHelper.hpp.
11 {
14 }
17 }
20 }
21 }
struct rte_eth_xstat_name * m_xstats_names
uint64_t * m_xstats_values
◆ poll()
void dunedaq::dpdklibs::IfaceXstats::poll |
( |
| ) |
|
|
inline |
Definition at line 74 of file XstatsHelper.hpp.
74 {
77 TLOG() <<
"Cannot get xstat values!";
78
79 }
80
82 }
83 }
struct rte_eth_stats m_eth_stats
◆ reset_counters()
void dunedaq::dpdklibs::IfaceXstats::reset_counters |
( |
| ) |
|
|
inline |
◆ setup()
void dunedaq::dpdklibs::IfaceXstats::setup |
( |
int | iface | ) |
|
|
inline |
Definition at line 23 of file XstatsHelper.hpp.
23 {
27
28
31 printf("Cannot get xstats count\n");
32 }
33
34
37 printf("Cannot allocate memory for xstat names\n");
38 }
39
40
42 printf("Cannot get xstat names\n");
43 }
44
45
48 printf("Cannot allocate memory for xstats\n");
49 }
50
51
53 printf("Cannot get xstat values\n");
54 }
55
56
57 TLOG() <<
"Registered HW based metrics: ";
58 for (
int i = 0; i <
m_len; i++) {
60 }
61
63 };
◆ m_allocated
bool dunedaq::dpdklibs::IfaceXstats::m_allocated = false |
◆ m_eth_stats
struct rte_eth_stats dunedaq::dpdklibs::IfaceXstats::m_eth_stats |
◆ m_iface_id
int dunedaq::dpdklibs::IfaceXstats::m_iface_id |
◆ m_len
int dunedaq::dpdklibs::IfaceXstats::m_len |
◆ m_xstats_ids
uint64_t* dunedaq::dpdklibs::IfaceXstats::m_xstats_ids |
◆ m_xstats_names
struct rte_eth_xstat_name* dunedaq::dpdklibs::IfaceXstats::m_xstats_names |
◆ m_xstats_values
uint64_t* dunedaq::dpdklibs::IfaceXstats::m_xstats_values |
The documentation for this struct was generated from the following file: