timesync: do less aggressive clock sampling (issue #73)

front
cinap_lenrek 2011-08-17 01:39:27 +02:00
parent 9f65da6d70
commit 982ee70f45
1 changed files with 1 additions and 0 deletions

View File

@ -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)