Name Date Size #Lines LOC

..--

tsync_hist.pyH A D25-Apr-20251.3 KiB5836

tsync_readmeH A D25-Apr-2025596 1310

tsync_res.pyH A D25-Apr-20251.1 KiB4730

tsync_readme

1PTP-like algorithm debug
2========================
3
4tsync_*.py scripts can be used to visualise debug files, written when the PTP-like algorithm
5is compiled with TSYNC_DEBUG defined. The files are located in the guest machine:
6    s-cid*.txt - For each offset calculation: host and guest clocks and calculated offset.
7    res-cid*.txt - For each tracing session: all calculated clock offsets.
8
9tsync_hist.py plots a histogram, using data from a s-cid*.txt file:
10	"python tsync_hist.py s-cid2_1.txt"
11tsync_res.py plots a line, using data from res-cid*.txt file:
12	"python tsync_res.py res-cid2.txt"
13