-
CONFIG_NET_PKT_TXTIME_STATS
¶
Enable network packet TX time statistics
Type: bool
Help¶
Enable network packet TX time statistics support. This is used to calculate how long on average it takes for a packet to travel from application to just before it is sent to network. The TX timing information can then be seen in network interface statistics in net-shell. The RX calculation is done only for UDP, TCP or RAW packets, but for TX we do not know the protocol so the TX packet timing is done for all network protocol packets.
Direct dependencies¶
(NET_UDP
|| NET_TCP
|| NET_SOCKETS_PACKET
) && NET_NATIVE
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol¶
Kconfig definition¶
At <Zephyr>/subsys/net/ip/Kconfig:783
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:37
→ <Zephyr>/subsys/net/Kconfig:87
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack
config NET_PKT_TXTIME_STATS bool "Enable network packet TX time statistics" selectNET_PKT_TIMESTAMP
selectNET_STATISTICS
depends on (NET_UDP
||NET_TCP
||NET_SOCKETS_PACKET
) &&NET_NATIVE
&&NETWORKING
help Enable network packet TX time statistics support. This is used to calculate how long on average it takes for a packet to travel from application to just before it is sent to network. The TX timing information can then be seen in network interface statistics in net-shell. The RX calculation is done only for UDP, TCP or RAW packets, but for TX we do not know the protocol so the TX packet timing is done for all network protocol packets.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)