Struct ToHostReaderStats
Defined in File tohost_monitor.hpp
Struct Documentation
-
struct ToHostReaderStats
Monitoring info for each reader associated to a DMA buffer.
Public Functions
-
inline explicit ToHostReaderStats(std::string r_type, int t_id, uint32_t num_subscriptions, uint32_t num_network_resources, uint64_t num_calls_network_resources)
Constructor to initialize reader stats with specific values.
- Parameters:
r_type -- Type of the reader
num_subscriptions -- Number of subscriptions
num_network_resources -- Number of network resources
num_calls_network_resources -- Number of network resource calls
Public Members
-
std::string type = {}
Type of the reader.
-
int thread_id = {}
Thread ID the reader runs on.
-
uint32_t number_of_subscriptions = {}
Number of subscriptions.
-
uint32_t number_of_network_resources = {}
Number of network resources.
-
uint64_t number_of_network_resource_calls = {}
Number of network resource calls.
-
inline explicit ToHostReaderStats(std::string r_type, int t_id, uint32_t num_subscriptions, uint32_t num_network_resources, uint64_t num_calls_network_resources)