aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/timer_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-02 06:33:45 +0100
committerBjörn Gustavsson <[email protected]>2016-03-09 13:20:01 +0100
commit477f490820a28e479527e93d420f26ea23fdf3e3 (patch)
tree5faa1afdfaf59b12b83155028f2cc22b7b09be63 /lib/stdlib/test/timer_SUITE.erl
parent03ec5bc984264feee907408e720015e2bd9b6108 (diff)
downloadotp-477f490820a28e479527e93d420f26ea23fdf3e3.tar.gz
otp-477f490820a28e479527e93d420f26ea23fdf3e3.tar.bz2
otp-477f490820a28e479527e93d420f26ea23fdf3e3.zip
Replace "%" with "%%" at the beginning of a line
We want to re-ident the source files after having taken out all ?line macros. When re-indenting using Emacs, it's important that comments that should be at the beginning of a line (or follow the indentation of statements around it) must start with "%%".
Diffstat (limited to 'lib/stdlib/test/timer_SUITE.erl')
-rw-r--r--lib/stdlib/test/timer_SUITE.erl7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/stdlib/test/timer_SUITE.erl b/lib/stdlib/test/timer_SUITE.erl
index dcaf399a3f..4702d9cf61 100644
--- a/lib/stdlib/test/timer_SUITE.erl
+++ b/lib/stdlib/test/timer_SUITE.erl
@@ -289,13 +289,6 @@ update(New, Stat) when New < Stat#stat.min ->
update(New, Stat) ->
Stat#stat{n=Stat#stat.n + 1, avg=(New+Stat#stat.avg) div 2}.
-%update(New, {N,Max,Min,Avg}) when New>Max ->
-% {N+1,New,Min,(New+Avg) div 2};
-%update(New, {N,Max,Min,Avg}) when New<Min ->
-% {N+1,Max,New,(New+Avg) div 2};
-%update(New, {N,Max,Min,Avg}) ->
-% {N+1,Max,Min,(New+Avg) div 2}.
-
print_report({E,LateS,EarlyS,I}) ->
Early = EarlyS#stat.n, Late = LateS#stat.n,
Total = E + Early + Late,