:orphan: .. title:: NET_PKT_TXTIME_STATS .. option:: 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 =================== (\ :option:`NET_UDP ` || \ :option:`NET_TCP ` || \ :option:`NET_SOCKETS_PACKET `) && \ :option:`NET_NATIVE ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`NET_PKT_TIMESTAMP ` - \ :option:`NET_STATISTICS ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/ip/Kconfig:783`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:87`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. parsed-literal:: config NET_PKT_TXTIME_STATS bool "Enable network packet TX time statistics" select \ :option:`NET_PKT_TIMESTAMP ` select \ :option:`NET_STATISTICS ` depends on (\ :option:`NET_UDP ` || \ :option:`NET_TCP ` || \ :option:`NET_SOCKETS_PACKET `) && \ :option:`NET_NATIVE ` && \ :option:`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.)*