.. Auto-generated by modules/generate_doc.py — do not edit manually. dev_rate ======== .. code-block:: text Measure link rate (bits/s) and packet rate (PPS) of a network device using Linux kernel counters from /sys/class/net/. Polls the interface statistics every second and reports time-series results. Waits until throughput exceeds RATE_THRESH before starting to accumulate results. Outputs RESULT-DEV---LINK and RESULT-DEV---PPS. Variables: NIC - NIC index to monitor (default: 0) RATE_THRESH - Minimum throughput in bits/s before starting measurement (default: 1000000) SIDE - Direction to monitor: "rx" or "tx" (default: rx) Usage: %import@dut dev_rate NIC=0 SIDE=rx RATE_THRESH=1000000