(1) how do I know if my code is actually being executed as interpreted or native?
(2) If I compile a module inside Erlang's shell, using the `c:c/1` function, is the module going to be compiled to native too? Will its execution be switched to native?
(3) Where is stored the generated beamasm native code? I would like to get its size in bytes?
I managed to get the code size (I suppose) from internal structures:
- erl_module_instance->code_length (for emulator and asm)
- erl_module_instance->hipe_code->text_segment_size (for HiPE and ErLLVM)
Does that make sense or are those values unrelated?
Leo