Profiling in Windows with QtCreator?
-
Valgrind is only for Linux, I tried finding some other profiling apps for Windows, but have found nothing which could be integrated with QtCreator.
Do you know any profiling programs that could be integrated in QtCreator for Windows? I need to improve the execution time of some programs.
Thank you.
-
I typically just use QElapesdTimer to time the hotspots of intense logic. Downside is you have to determine those yourself instead of having a performance analysis point them to you. Upside is it has almost no overhead and it is simple and easy to use.
I am not aware of any other tool besides Valgrind that can integrate with Creator. For VS you can go for Intel's Parallel Studio, but its pricey.
-
You could look into "Very Sleepy": http://www.codersnotes.com/sleepy . It runs as a stand-alone application so no QT integration but it's free.
-
Hello.
When I was wanted to profile my Qt application, I found "this":http://www.richelbilderbeek.nl/CppQtGprofExample1.htm example. It can be used as a base for your own solution. You may also need to read some documentation about gprof. -
Thanks a lot for the replies, guys.
I eventually installed VMWare virtual machine and did the profiling with Ubuntu...
But it's really so bad that nothing can be integrated with QtCreator but valgrind, while valgrind itself is only made for linux.
-
Yes, it's realy sad. But gprof gives you pretty much information to think on and it works on windows. Furthermore, I guess you may find some tools, that can visualize it's output, while a plain text interpretation is still very usefull.
-
Thanks for the info, buddy!