Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mirek is currently offline  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. Very Happy

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. Smile



I have tons of experience with RTIMING Smile 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: About Linux distros and incompatibilty...
Next Topic: A Newbie Manual cum Tutorial?
Goto Forum:
  


Current Time: Thu Aug 14 00:29:20 CEST 2025

Total time taken to generate the page: 0.08015 seconds