aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src/observer_backend.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-02-03 09:51:19 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:53 +0100
commit469e8f285f39218dfe0800b4df1c91739267c23c (patch)
tree5cc705d18b7cd5f94bda74f7ac7f3d9dcc656a58 /lib/runtime_tools/src/observer_backend.erl
parent9cf2be0481f26e3251fdb9de0a5d5901f4faee83 (diff)
downloadotp-469e8f285f39218dfe0800b4df1c91739267c23c.tar.gz
otp-469e8f285f39218dfe0800b4df1c91739267c23c.tar.bz2
otp-469e8f285f39218dfe0800b4df1c91739267c23c.zip
Replace usage of erlang:now() with usage of new API
Diffstat (limited to 'lib/runtime_tools/src/observer_backend.erl')
-rw-r--r--lib/runtime_tools/src/observer_backend.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/observer_backend.erl b/lib/runtime_tools/src/observer_backend.erl
index fea0854042..fe814ceda4 100644
--- a/lib/runtime_tools/src/observer_backend.erl
+++ b/lib/runtime_tools/src/observer_backend.erl
@@ -248,7 +248,7 @@ etop_collect(Collector) ->
SchedulerWallTime = erlang:statistics(scheduler_wall_time),
ProcInfo = etop_collect(processes(), []),
- Collector ! {self(),#etop_info{now = now(),
+ Collector ! {self(),#etop_info{now = erlang:timestamp(),
n_procs = length(ProcInfo),
run_queue = erlang:statistics(run_queue),
runtime = SchedulerWallTime,