Skip to content
Snippets Groups Projects
Commit 90e175a7 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

changed RT timing to IceUtil::Time again

parent db5163b8
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,10 @@ namespace armarx
{
inline IceUtil::Time rtNow()
{
using namespace std::chrono;
auto epoch = time_point_cast<microseconds>(high_resolution_clock::now()).time_since_epoch();
return IceUtil::Time::microSeconds(duration_cast<milliseconds>(epoch).count());
return IceUtil::Time::now(IceUtil::Time::Monotonic);
// using namespace std::chrono;
// auto epoch = time_point_cast<microseconds>(high_resolution_clock::now()).time_since_epoch();
// return IceUtil::Time::microSeconds(duration_cast<milliseconds>(epoch).count());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment