Ideally the procedure modifications can be done by FPC via a compiler switch, similar to the -pg switch.
I'm not so sure. The current apprach uses instrumentation which by design has an impact on performance. With the current approach (separate profiling app) you can choose to instrument only a part of your code or even a couple of methods only (planned feature). A sampling profiler is much more appropriate for inclusion in the compiler.
Regards, Darius -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
