timesync: do less aggressive clock sampling (issue #73)
parent
9f65da6d70
commit
982ee70f45
|
@ -1273,6 +1273,7 @@ sample(long (*get)(void))
|
|||
last = (*get)();
|
||||
for(;;){
|
||||
gettime(&start, 0, 0);
|
||||
sleep(5);
|
||||
this = (*get)();
|
||||
gettime(&end, 0, 0);
|
||||
if(this != last)
|
||||
|
|
Loading…
Reference in New Issue