aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/socket_test_ttest_lib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/socket_test_ttest_lib.erl')
-rw-r--r--erts/emulator/test/socket_test_ttest_lib.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/test/socket_test_ttest_lib.erl b/erts/emulator/test/socket_test_ttest_lib.erl
index 71679bc6d6..7fc13df46a 100644
--- a/erts/emulator/test/socket_test_ttest_lib.erl
+++ b/erts/emulator/test/socket_test_ttest_lib.erl
@@ -56,8 +56,10 @@ format_timestamp({_N1, _N2, N3} = TS) ->
%% Time is always in number os ms (milli seconds)
%% At some point, we should convert this to a more readable format...
+format_time(T) when (T < 1000) ->
+ format("~w ms", [T]);
format_time(T) ->
- format("~p", [T]).
+ format("~w sec (~w ms)", [T div 1000, T]).
formated_process_stats(Pid) ->