diff options
Diffstat (limited to 'src/node_platform.cc')
-rw-r--r-- | src/node_platform.cc | 4 |
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(); } |