Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OSVR/OSVR-Core
/ oneLoop
Method
oneLoop
apps/ClientMainloopThread.h:66–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
void oneLoop() {
67
m_mainloop.mainloop();
68
boost::this_thread::sleep(SLEEP_TIME);
69
}
70
71
template <typename T>
72
void loopForDuration(T duration = boost::chrono::seconds(2)) {
Callers
1
getRotation
Function · 0.80
Calls
1
mainloop
Method · 0.45
Tested by
no test coverage detected