Home » Community » Coffee corner » Win32 UPP console application profiling? Some free easy to use tools, anyone?
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone? [message #17142 is a reply to message #17140] |
Wed, 30 July 2008 22:44   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
mr_ped wrote on Wed, 30 July 2008 15:22 | I would love to have "profiling" directly in TheIDE, but there's no such thing. 
The RTIMING (?) macro is nice when you know which part you want to attack, but I'm missing some way to measure all relevant code together and compare it in absolute/relative numbers to know which parts are slowing me down badly, down to every single function calls, preferably down to template based functions. 
|
I have tons of experience with RTIMING IMO it leads you directly to the bottleneck quite quickly.
Of course, if you are not afraid inserting RTIMING even to U++ code, so better. But often it is not even necessary.
It is usually quite straightforward to find out where the problem is. Just start in CONSOLE_APP_MAIN, if you call more than single function there. Put one RTIMING to the whole CONSOLE_APP_MAIN, then move other RTIMING between blocks or function calls of MAIN. When you identify the "clockcycle eater", descend to that block or function and repeat the process.
The main RTIMING will always serve you to see proportions...
Mirek
|
|
|
 |
|
Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: mr_ped on Wed, 30 July 2008 21:22
|
 |
|
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: mirek on Wed, 30 July 2008 22:44
|
 |
|
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: Novo on Thu, 31 July 2008 00:21
|
 |
|
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: mr_ped on Thu, 31 July 2008 09:56
|
 |
|
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: mirek on Thu, 31 July 2008 10:31
|
 |
|
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: mr_ped on Thu, 31 July 2008 09:58
|
 |
|
Re: Win32 UPP console application profiling? Some free easy to use tools, anyone?
By: mr_ped on Thu, 31 July 2008 10:34
|
Goto Forum:
Current Time: Thu Aug 14 00:29:20 CEST 2025
Total time taken to generate the page: 0.08015 seconds
|