Blame test/simulation/clknetsim/examples/phc2sys.test
|
Packit Service |
623930 |
#!/bin/bash
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
CLKNETSIM_PATH=..
|
|
Packit Service |
623930 |
. ../clknetsim.bash
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
echo "node1_freq = (sum (* 1e-9 (normal)))" > tmp/conf
|
|
Packit Service |
623930 |
echo "node1_refclock = (* 1e-6 (normal))" >> tmp/conf
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
start_client 1 phc2sys ""
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
start_server 1 -v 2 -o log.offset -f log.freq -r 1000 -l 4000
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
cat tmp/stats
|