How to recognize HiPE-compiled beams
Chaitanya Chalasani
chaitanya.chalasani@REDACTED
Wed Jan 4 12:50:48 CET 2006
Hi,
On Wednesday 04 January 2006 16:31, Joel Reymont wrote:
> Folks,
>
> Is there a way to tell from within erl if a beam has been HiPE-compiled?
>
> Thanks, Joel
>
> --
> http://wagerlabs.com/
The screenshot below might help you.
1> fact:module_info().
[{exports,[{module_info,1},{module_info,0},{start,1}]},
{imports,[]},
{attributes,[{vsn,[235774949298681110343635959375528815860]}]},
{compile,[{options,[{cwd,"/home/chaitanya/Documents/Workspace/erlang"},
{outdir,"/home/chaitanya/Documents/Workspace/erlang"},
{hipe,[verbose]},
native]},
{version,"4.3.11"},
{time,{2005,12,26,7,40,58}},
{source,"/home/chaitanya/Documents/Workspace/erlang/fact.erl"}]}]
2> q().
ok
3> chaitanya@REDACTED:~/Documents/Workspace/erlang> erlc fact.erl
chaitanya@REDACTED:~/Documents/Workspace/erlang> erl
Erlang (BEAM) emulator version 5.4.12 [source] [hipe]
Eshell V5.4.12 (abort with ^G)
1> fact:module_info().
[{exports,[{start,1},{module_info,0},{module_info,1}]},
{imports,[]},
{attributes,[{vsn,[235774949298681110343635959375528815860]}]},
{compile,[{options,[{cwd,"/home/chaitanya/Documents/Workspace/erlang"},
{outdir,"/home/chaitanya/Documents/Workspace/erlang"}]},
{version,"4.3.11"},
{time,{2006,1,4,11,48,36}},
{source,"/home/chaitanya/Documents/Workspace/erlang/fact.erl"}]}]
2>
--
Chaitanya Chalasani
More information about the erlang-questions
mailing list