diff options
author | Björn Gustavsson <[email protected]> | 2015-05-29 10:51:53 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-29 10:51:53 +0200 |
commit | eca01e7621918cb81535d0243d28adcc8dfbba34 (patch) | |
tree | af7d31e2914601f8319f12a311af29a330a82758 /lib/megaco/src/engine/megaco_trans_sender.erl | |
parent | bc3a55ca6581fae7bc0f531979de0e46fd44aff5 (diff) | |
parent | 3650d333cb06547b8b05ca90d08922a49f919cc6 (diff) | |
download | otp-eca01e7621918cb81535d0243d28adcc8dfbba34.tar.gz otp-eca01e7621918cb81535d0243d28adcc8dfbba34.tar.bz2 otp-eca01e7621918cb81535d0243d28adcc8dfbba34.zip |
Merge branch 'bjorn/megaco/eliminate-now'
* bjorn/megaco/eliminate-now:
megaco: Eliminate use of erlang:now/0
Diffstat (limited to 'lib/megaco/src/engine/megaco_trans_sender.erl')
-rw-r--r-- | lib/megaco/src/engine/megaco_trans_sender.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/megaco/src/engine/megaco_trans_sender.erl b/lib/megaco/src/engine/megaco_trans_sender.erl index 710fef405a..e07f404289 100644 --- a/lib/megaco/src/engine/megaco_trans_sender.erl +++ b/lib/megaco/src/engine/megaco_trans_sender.erl @@ -672,8 +672,7 @@ to(To, Start) -> %% Time in milli seconds t() -> - {A,B,C} = erlang:now(), - A*1000000000+B*1000+(C div 1000). + erlang:monotonic_time(milli_seconds). warning_msg(F, A) -> ?megaco_warning("Transaction sender: " ++ F, A). |