diff options
author | Patrik Nyblom <[email protected]> | 2011-06-21 12:18:15 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2011-06-21 12:18:15 +0200 |
commit | b781506f927672fe22c3fba20e25d39ee64c9594 (patch) | |
tree | cba3158ffd2f41e6493342d884382bfb2eaa672e /lib/stdlib/src/timer.erl | |
parent | 22d7ccd9ef7f07baa0ffa648c16f90bfd2c0e342 (diff) | |
parent | b9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1 (diff) | |
download | otp-b781506f927672fe22c3fba20e25d39ee64c9594.tar.gz otp-b781506f927672fe22c3fba20e25d39ee64c9594.tar.bz2 otp-b781506f927672fe22c3fba20e25d39ee64c9594.zip |
Merge branch 'dev' into major
Diffstat (limited to 'lib/stdlib/src/timer.erl')
-rw-r--r-- | lib/stdlib/src/timer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/timer.erl b/lib/stdlib/src/timer.erl index 89fae05e4f..e3d6c905b6 100644 --- a/lib/stdlib/src/timer.erl +++ b/lib/stdlib/src/timer.erl @@ -200,8 +200,8 @@ tc(M, F, A) -> %% erlang:now() timestamps, T2-T1. %% -spec now_diff(T1, T2) -> Tdiff when - T1 :: calendar:t_now(), - T2 :: calendar:t_now(), + T1 :: erlang:timestamp(), + T2 :: erlang:timestamp(), Tdiff :: integer(). now_diff({A2, B2, C2}, {A1, B1, C1}) -> ((A2-A1)*1000000 + B2-B1)*1000000 + C2-C1. |