summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-10-28 17:59:03 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-10-28 17:59:03 +0100
commit46ca7002550b19f8bfe32586ca810c2b719f9261 (patch)
treec4e6771eef203b87e50cd5e09047e40e2690b1dc
parent48473f85333e216a9ae569fc4f4f957f82f7dc51 (diff)
downloadrabbitmq-server-bug24513.tar.gz
-rw-r--r--src/rabbit.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 09bedca4..0a2681a2 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -177,6 +177,7 @@
-define(APPS, [os_mon, mnesia, rabbit]).
+%% see bug 24513 for how this list was created
-define(HIPE_WORTHY,
[rabbit_reader, rabbit_channel, gen_server2,
rabbit_exchange, rabbit_command_assembler, rabbit_framing_amqp_0_9_1,
@@ -265,8 +266,8 @@ hipe_compile() ->
{'DOWN', MRef, process, _, Reason} -> exit(Reason)
end || {_Pid, MRef} <- PidMRefs],
T2 = erlang:now(),
- T = timer:now_diff(T2, T1) div 1000000,
- io:format("|~n~nCompiled ~B modules in ~Bs~n", [Count, T]).
+ io:format("|~n~nCompiled ~B modules in ~Bs~n",
+ [Count, timer:now_diff(T2, T1) div 1000000]).
split(L, N) -> split0(L, [[] || _ <- lists:seq(1, N)]).