aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/include
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-03-30 18:24:40 +0200
committerRickard Green <[email protected]>2015-05-06 15:58:32 +0200
commitfbaf4210a0d276be98bed76a7295334a50b7a4b3 (patch)
tree293e57043272e89c80ffd91977f2377268125573 /lib/test_server/include
parentf0d51083a6cda851ed60578a7679e20b1fe5678a (diff)
downloadotp-fbaf4210a0d276be98bed76a7295334a50b7a4b3.tar.gz
otp-fbaf4210a0d276be98bed76a7295334a50b7a4b3.tar.bz2
otp-fbaf4210a0d276be98bed76a7295334a50b7a4b3.zip
Replace usage of erlang:now() in line-tracing
Diffstat (limited to 'lib/test_server/include')
-rw-r--r--lib/test_server/include/test_server.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/include/test_server.hrl b/lib/test_server/include/test_server.hrl
index 36e7e1f83d..f206374116 100644
--- a/lib/test_server/include/test_server.hrl
+++ b/lib/test_server/include/test_server.hrl
@@ -21,7 +21,7 @@
-line_trace(true).
-define(line,
io:format(lists:concat([?MODULE,",",integer_to_list(?LINE),": ~p"]),
- [erlang:now()]),).
+ [erlang:monotonic_time()-erlang:system_info(start_time)]),).
-else.
-define(line,).
-endif.