[PB4.20b1] Profiler should also show the used time per line
[PB4.20b1] Profiler should also show the used time per line
Profiler should also show the used time per line, maybe optional.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
You have right if I use breakpoints.freak wrote:As i explained in the announcement, the fact that the program runs with debugger makes
timing information useless.
But If I run in debug mode without any stops...so I get a time which can help me to improve the code.
Of course a log file is also very helpfull to get infos about the terminated prog.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
The debugger has to perform runtime checks and process commands from the IDE/external debugger.
This usually takes much longer than the execution of the actual line.
So the values you would get say nothing about how long the actual line needed to execute.
No matter if you use breakpoints or not.
This usually takes much longer than the execution of the actual line.
So the values you would get say nothing about how long the actual line needed to execute.
No matter if you use breakpoints or not.
quidquid Latine dictum sit altum videtur
-
- Enthusiast
- Posts: 468
- Joined: Sat Dec 20, 2003 6:19 pm
- Location: Switzerland
You can use my Analyzer. Unfortunately my webspace disappeared and the
old package (with docs etc.) is somewhere on another PC but this version
should work:
http://remi.secretly.de/downloads/analyzer.exe
It will modify your file (IIRC), so use "%COMPILEFILE" when using it as IDE
plugin. Furthermore it doesn't recognize IncludeFiles -> you have to merge
the files (with appropriate tools).
old package (with docs etc.) is somewhere on another PC but this version
should work:
http://remi.secretly.de/downloads/analyzer.exe
It will modify your file (IIRC), so use "%COMPILEFILE" when using it as IDE
plugin. Furthermore it doesn't recognize IncludeFiles -> you have to merge
the files (with appropriate tools).
Athlon64 3700+, 1024MB Ram, Radeon X1600
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Yes it is usefull.freak wrote:Maybe we can add a spechial time-profiling mode later on (maybe without the debugger).
For now, the line-profiling is already very useful, just give it a try.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Not right.maw wrote:From this Fred and Freak now has drawn the following conclusion: Never ever introduce new features, they'll just demand more
New features will be only compared with existing features on other products.
BTW:
Higher, faster, better...that are human goals.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
-
- Addict
- Posts: 4777
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
That's what I wanted to say, too: Since the debugger disturbs time-profiling, implement the time-profiling with the debugger switched off.freak wrote:Maybe we can add a spechial time-profiling mode later on (maybe without the debugger).
I have tried that some time ago with another programming language. It's best when users have the choice between linecount-profiling and time-profiling. I personally mostly need time-profiling.freak wrote:For now, the line-profiling is already very useful, just give it a try.
Regards, Little John