https://github.com/cappe987/wiretime
Measure the time a packet is on the wire accurately using hardware timestamping
https://github.com/cappe987/wiretime
hacktoberfest networks ptp timestamping
Last synced: about 1 year ago
JSON representation
Measure the time a packet is on the wire accurately using hardware timestamping
- Host: GitHub
- URL: https://github.com/cappe987/wiretime
- Owner: cappe987
- License: mit
- Created: 2023-04-19T19:25:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T09:58:32.000Z (over 2 years ago)
- Last Synced: 2023-10-02T02:56:29.679Z (over 2 years ago)
- Topics: hacktoberfest, networks, ptp, timestamping
- Language: C
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wiretime
Measure the time a packet is on the wire accurately using hardware timestamping.
This is useful for measuring the impact of traffic congestion and testing QoS
features.
```
wiretime --tx eth0 --rx eth1
```
For more detailed explanation refer to https://casan.se/docs/wiretime/.
Plot nice graphs using Gnuplot. Use `-O ` to save the measurements to
a file. Then transfer the file to a device that has Gnuplot and run the script
`scripts/plot_latency.sh ` on it. Or if your target device
has Gnuplot you can use the flag `--plot ` directly.
## Credit
This project initially started as a fork of [OpenIL's
TSNTool](https://github.com/nxp-archive/openil_tsntool/blob/master/tools/timestamping.c),
which in of itself appears to come from the file
[selftests/net/timestamping.c](https://github.com/torvalds/linux/blob/master/tools/testing/selftests/net/timestamping.c)
in the Linux kernel.