Miscellaneous helper functions. More...
Go to the source code of this file.
Functions | |
uint16_t | enso::get_bdf_from_pcie_addr (const std::string &pcie_addr) |
void | enso::print_buf (void *buf, const uint32_t nb_cache_lines) |
void | enso::print_ip (uint32_t ip) |
void | enso::print_pkt_ips (uint8_t *pkt) |
void | enso::print_pkt_header (uint8_t *pkt) |
int | enso::set_core_id (std::thread &thread, int core_id) |
void | enso::show_stats (const std::vector< stats_t > &thread_stats, volatile bool *keep_running) |
Miscellaneous helper functions.
Definition in file helpers.cpp.
uint16_t enso::get_bdf_from_pcie_addr | ( | const std::string & | pcie_addr | ) |
Definition at line 48 of file helpers.cpp.
void enso::print_buf | ( | void * | buf, |
const uint32_t | nb_cache_lines | ||
) |
Definition at line 64 of file helpers.cpp.
void enso::print_ip | ( | uint32_t | ip | ) |
Definition at line 79 of file helpers.cpp.
void enso::print_pkt_header | ( | uint8_t * | pkt | ) |
Definition at line 97 of file helpers.cpp.
void enso::print_pkt_ips | ( | uint8_t * | pkt | ) |
Definition at line 84 of file helpers.cpp.
int enso::set_core_id | ( | std::thread & | thread, |
int | core_id | ||
) |
Definition at line 135 of file helpers.cpp.
void enso::show_stats | ( | const std::vector< stats_t > & | thread_stats, |
volatile bool * | keep_running | ||
) |
Definition at line 157 of file helpers.cpp.