Original Post
Hi,
im looking for an in-engine profiling solution, something maybe using:
- Macro Solutions: maybe with clever use of macros we can implement a profiling solution?
- Ability to turn On/Off: Yea, this ability is important to me, and i expect a bit of a slow-down when on...
- Zero Overhead when Off: I would like for the profiling system to provide zero overhead when turned off.
Im looking for tips from coders that have done something similar, maybe online articles or book pointers would be nice too...
Thanks in advance.

[Hugo Ferreira][Positronic Dreams][Colibri 3D Engine][Entropy HL2 MOD][My DevDiary]
[Yann L.][Enginuity] [Penny Arcade] [MSDN][VS RoadMap][Humus][BSPs][UGP][NeHe]
"our stupidity allways comes back to bite us in the ass... in a white-shark sort of way..." - Prozak

[Hugo Ferreira][Positronic Dreams][Colibri 3D Engine][Entropy HL2 MOD][My DevDiary]
[Yann L.][Enginuity] [Penny Arcade] [MSDN][VS RoadMap][Humus][BSPs][UGP][NeHe]
"our stupidity allways comes back to bite us in the ass... in a white-shark sort of way..." - Prozak