Add node modules and new code for release (#39)
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a10d84bc2e
commit
7ad2aa66bb
+10
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
const { hrtime, toMS } = require("./utils");
|
||||
|
||||
// Returns the DOMHighResTimeStamp representing the high resolution time value of the global monotonic clock.
|
||||
function getGlobalMonotonicClockMS() {
|
||||
return toMS(hrtime());
|
||||
}
|
||||
|
||||
module.exports = { getGlobalMonotonicClockMS };
|
||||
Reference in New Issue
Block a user