gl-store-s3.js/node_modules/aws-sdk/lib/realclock/nodeClock.js

8 lines
193 B
JavaScript

module.exports = {
//provide realtime clock for performance measurement
now: function now() {
var second = process.hrtime();
return second[0] * 1000 + (second[1] / 1000000);
}
};