Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deployd/deployd
/ getTimeToNextFrame
Function
getTimeToNextFrame
test-app/public/sinon.js:28286–28288 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28284
clock.Date.clock = clock;
28285
28286
function
getTimeToNextFrame() {
28287
return
16 - ((clock.now - start) % 16);
28288
}
28289
28290
function
hrtime(prev) {
28291
var
millisSinceStart = clock.now - adjustedSystemTime[0] - start;
Callers
1
createClock
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected