Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ timeSinceStart
Method
timeSinceStart
src/service/timer-impl.js:39–41 ·
view source on GitHub ↗
* Returns time since start in milliseconds. * @return {number}
()
Source
from the content-addressed store, hash-verified
37
* @
return
{number}
38
*/
39
timeSinceStart() {
40
return
Date.now() - this.startTime_;
41
}
42
43
/**
44
* Runs the provided callback after the specified delay. This uses a micro
Callers
1
getTimeout_
Method · 0.80
Calls
1
now
Method · 0.80
Tested by
no test coverage detected