FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::net::RxMeta Struct Reference

#include <fastmm/net/datagram_source.hpp>

Public Attributes

Cycles t0_cycles
 rdtscp after the batch left the kernel or the RX ring
 
std::int64_t t0_wall_ns
 CLOCK_REALTIME read with t0_cycles; sw_ts_ns -> T0 in one clock.
 
std::int64_t sw_ts_ns
 kernel receive time (CLOCK_REALTIME), 0 when unavailable
 
std::int64_t hw_ts_ns
 raw NIC (PHC) time, 0 when unavailable; not CLOCK_REALTIME
 
std::uint32_t src_ip
 network byte order
 
std::uint32_t dst_ip
 network byte order: the subscription's group
 
std::uint16_t dst_port
 host byte order
 
std::uint8_t line
 subscription index (A/B)
 

Member Data Documentation

◆ t0_cycles

Cycles fastmm::net::RxMeta::t0_cycles

rdtscp after the batch left the kernel or the RX ring

◆ t0_wall_ns

std::int64_t fastmm::net::RxMeta::t0_wall_ns

CLOCK_REALTIME read with t0_cycles; sw_ts_ns -> T0 in one clock.

◆ sw_ts_ns

std::int64_t fastmm::net::RxMeta::sw_ts_ns

kernel receive time (CLOCK_REALTIME), 0 when unavailable

◆ hw_ts_ns

std::int64_t fastmm::net::RxMeta::hw_ts_ns

raw NIC (PHC) time, 0 when unavailable; not CLOCK_REALTIME

◆ src_ip

std::uint32_t fastmm::net::RxMeta::src_ip

network byte order

◆ dst_ip

std::uint32_t fastmm::net::RxMeta::dst_ip

network byte order: the subscription's group

◆ dst_port

std::uint16_t fastmm::net::RxMeta::dst_port

host byte order

◆ line

std::uint8_t fastmm::net::RxMeta::line

subscription index (A/B)