Hi,
Could you suggest a profiler tool for Qt applications (Linux/windows/solaris/mac)
cross platform profiler or different ones for different platforms.
Thanks .
Maverick
Hi,
Could you suggest a profiler tool for Qt applications (Linux/windows/solaris/mac)
cross platform profiler or different ones for different platforms.
Thanks .
Maverick
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Not very covering list but here's at least some: http://wiki.qtcentre.org/index.php?title=Profiling. Feel free the extend the list..![]()
J-P Nurmi
maverick_pol (31st October 2007)
For Windows you can try DevPartner or Intel Thread Checker or Rational Purify(used by TT). For Solaris you always have their own DTrace and for Mac you have Shark which comes with XCode, therefore free.
If you don't need to profile directly the Qt libraries, you can use multiplatform Embedded Profiler (free on Linux and Windows, unfortunatelly not available for Mac). It can provide a full call tree or just a function list.
It's based on using compilers' profiling support (-finstrument-functions for gcc/MinGW), /GH for MSVC) and can even show times with substracted profiling overhead.
In general you just need to add compiler specific flag (e.g. -finstrument-functions) and link profiler's library. Than the profiler provides a log which you can open in its PerformanceAnalyzer.
For more info see user manual on its pages.
Bookmarks