> 5) Run a high resolution timer that increments that counter for the current
> function at the time the timer is triggered.
How accurate high resolution timer is on Linux?
> But I hate slowing down the interpreter for such things.
I agree, that is not good option!
> Maybe by compiling a special version of the interpreter that dumps this
> information?
Can it be implemented somehow like this:
#ifdef DEBUG
cout << "This is the test version, i=" << i << endl;
#else
cout << "This is the production version!" << endl;
#endif
Jussi
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user