Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_platform.cc')
-rw-r--r--src/node_platform.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_platform.cc b/src/node_platform.cc
index 65d1ef6c5df..d96db086925 100644
--- a/src/node_platform.cc
+++ b/src/node_platform.cc
@@ -279,6 +279,10 @@ double NodePlatform::MonotonicallyIncreasingTime() {
return uv_hrtime() / 1e9;
}
+double NodePlatform::CurrentClockTimeMillis() {
+ return SystemClockTimeMillis();
+}
+
TracingController* NodePlatform::GetTracingController() {
return tracing_controller_.get();
}