flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Feature request: Profiling |
Author |
|
OzzY 28 Oct 2006, 00:04
Hi!
After looking at this thread http://smorgasbordet.com/phpBB2/viewtopic.php?t=1054 at Pelles C Forum, I realized how profiling is usefull. Any chance of FASM having similar feature? |
|||
28 Oct 2006, 00:04 |
|
Goplat 28 Oct 2006, 00:52
How would profiling work in assembly? In C, it's usually done by the compiler inserting calls to the profiling routines at the beginning and end of each function. In asm there's no way to know where those are: a function entry point is just a label, and it's possible to exit a function with a jmp. There may even be multiple entry or exit points.
|
|||
28 Oct 2006, 00:52 |
|
vid 28 Oct 2006, 10:58
Goplat: well, if you use "proc" macros, and "ret" macros, and "stdcall"/"invoke"/"ccall" macros...
|
|||
28 Oct 2006, 10:58 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.