git-svn-id: svn://elaine/murooma/trunk@323 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-12-28 16:49:29 +00:00
parent deca098bb4
commit b857de9f45
12 changed files with 69 additions and 449 deletions

View file

@ -132,6 +132,7 @@ void Controller::worker()
double latency = (reply->received.sec - reply->sent.sec) + (reply->received.usec - reply->sent.usec) / 1000000.;
TimeProvider::getInstance().setDiffToServer((reply->latency - latency) * 1000 / 2);
}
//throw std::exception();
}
}
catch (const std::exception& e)