diff options
author | Rickard Green <[email protected]> | 2016-08-24 15:57:53 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-08-25 17:37:44 +0200 |
commit | 5e57b3faccba1ae66ebd40fed23f5770eee71b04 (patch) | |
tree | b7eb1632247fa179bd852177f4c02980d5571a6a /lib/kernel/test/os_SUITE.erl | |
parent | fc85e401ee279cc3b69635a71ffa93544ce5b99d (diff) | |
download | otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.tar.gz otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.tar.bz2 otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.zip |
Replace usage of deprecated time units
Diffstat (limited to 'lib/kernel/test/os_SUITE.erl')
-rw-r--r-- | lib/kernel/test/os_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/os_SUITE.erl b/lib/kernel/test/os_SUITE.erl index 19ab3713a1..b9ddc3bf48 100644 --- a/lib/kernel/test/os_SUITE.erl +++ b/lib/kernel/test/os_SUITE.erl @@ -311,7 +311,7 @@ perf_counter_api(_Config) -> T1 = os:perf_counter(), timer:sleep(100), T2 = os:perf_counter(), - TsDiff = erlang:convert_time_unit(T2 - T1, perf_counter, nano_seconds), + TsDiff = erlang:convert_time_unit(T2 - T1, perf_counter, nanosecond), ct:pal("T1: ~p~n" "T2: ~p~n" "TsDiff: ~p~n", |