MCPcopy Index your code
hub / github.com/nodejs/node / getMonotonicTime

Function getMonotonicTime

lib/internal/inspector/network.js:42–44  ·  view source on GitHub ↗

* Return a monotonically increasing time in seconds since an arbitrary point in the past. * @returns {number}

()

Source from the content-addressed store, hash-verified

40 * @returns {number}
41 */
42function getMonotonicTime() {
43 return now() / 1000;
44}
45
46let requestId = 0;
47function getNextRequestId() {

Callers 15

onClientRequestCreatedFunction · 0.85
onClientRequestErrorFunction · 0.85
onClientResponseFinishFunction · 0.85
onClientRequestStartFunction · 0.85
onClientRequestErrorFunction · 0.85
onClientResponseHeadersFunction · 0.85
onClientResponseFinishFunction · 0.85
onWebSocketOpenFunction · 0.85
onWebSocketCloseFunction · 0.85
onClientStreamCreatedFunction · 0.85

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…