Answer by Whiletrue for Beyond Stack Sampling: C++ Profilers
I use Orbit profiler, easy, open source and powerfull ! https://orbitprofiler.com/
View ArticleAnswer by Reinstate Monica for Beyond Stack Sampling: C++ Profilers
Just to throw it out, even though it's not a full-blown profiler: if all you're after is hung event loops that take long processing an event, an ad-hoc tool is simple matter in Qt. That approach could...
View ArticleAnswer by Bruce Dawson for Beyond Stack Sampling: C++ Profilers
I use xperf/ETW for all of my profiling needs. It has a steep learning curve but is incredibly powerful. If you are profiling on Windows then you must know xperf. I frequently use this profiler to find...
View ArticleAnswer by MOnsDaR for Beyond Stack Sampling: C++ Profilers
I just finished the first usable version of CxxProf, a portable manual instrumented profiling library for C++. It fulfills the following goals: Easy integration Easily remove the lib during compile...
View ArticleAnswer by Nim for Beyond Stack Sampling: C++ Profilers
There are lots of profilers listed here and I've tried a few of them myself - however I ended up writing my own based on this: http://code.google.com/p/high-performance-cplusplus-profiler/ It does of...
View ArticleAnswer by user541633 for Beyond Stack Sampling: C++ Profilers
though your os is win7,the programm cann't run under xp? how about profile it under xp and the result should be a hint for win7.
View ArticleAnswer by Javier Loureiro for Beyond Stack Sampling: C++ Profilers
I can tell you what I use everyday. a) AMD Code Analyst It is easy, and it will give you a quick overview of what is happening. It will be ok for most of the time. With AMD CPUs, it will tell you info...
View ArticleAnswer by deft_code for Beyond Stack Sampling: C++ Profilers
First: Time sampling profilers are more robust than CPU sampling profilers. I'm not extremely familiar with Windows development tools so I can't say which ones are which. Most profilers are CPU...
View ArticleAnswer by Aaron Altman for Beyond Stack Sampling: C++ Profilers
Edit: I see now you mentioned this in your first post. Dammit, I never thought I'd be that guy. You can use Pin to instrument your code with finer granularity. I think Pin would let you create a tool...
View ArticleAnswer by hmuelner for Beyond Stack Sampling: C++ Profilers
I have successfully used PurifyPlus for Windows. Although it is not cheap, IBM provides a trial version that is slightly crippled. All you need for profiling with quantify are pdb files and linking...
View ArticleAnswer by Macke for Beyond Stack Sampling: C++ Profilers
If you're suspicious of the event loop, could overriding QCoreApplication::notify() and dosome manual profiling (one or two maps of senders/events to counts/time)? I'm thinking that you first log the...
View ArticleAnswer by Pascal T. for Beyond Stack Sampling: C++ Profilers
DevPartner, originally developed by NuMega and now distributed by MicroFocus, was once the solution of choice for profiling and code analysis (memory and resource leaks for example). I haven't tried it...
View ArticleAnswer by please delete me for Beyond Stack Sampling: C++ Profilers
Two more tool suggestions. Luke Stackwalker has a cute name (even if it's trying a bit hard for my taste), it won't cost you anything, and you get the source code. It claims to support multi threaded...
View ArticleAnswer by Sanjit Saluja for Beyond Stack Sampling: C++ Profilers
Checkout XPerf This is free, non-invasive and extensible profiler offered by MS. It was developed by Microsoft to profile Windows.
View ArticleAnswer by JimR for Beyond Stack Sampling: C++ Profilers
Do you have an MFC OnIdle function? In the past I had a near real-time app I had to fix that was dropping serial packets when set at 19.2K speed which a PentiumD should have been able to keep up with....
View ArticleAnswer by greatwolf for Beyond Stack Sampling: C++ Profilers
Easyprofiler - I haven't seen it mentioned here yet so not sure if you've looked at it already. It takes a slightly different approach in how it gathers metric data. A drawback to using its...
View ArticleAnswer by Mike Dunlavey for Beyond Stack Sampling: C++ Profilers
What happened when you tried random pausing? I use it all the time on a monster app. You said it did not give enough information, and you've suggested you need high resolution. Sometimes people need a...
View ArticleAnswer by Alex Budovski for Beyond Stack Sampling: C++ Profilers
Re the VS Profiler -- if it's generating such large files, perhaps your sampling interval is too frequent? Try lowering it, as you probably have enough samples anyway. And ideally, make sure you're not...
View ArticleAnswer by Adam Rosenfield for Beyond Stack Sampling: C++ Profilers
I've had some success with AMD CodeAnalyst.
View ArticleBeyond Stack Sampling: C++ Profilers
A Hacker's Tale The date is 12/02/10. The days before Christmas are dripping away and I've pretty much hit a major road block as a windows programmer. I've been using AQTime, I've tried sleepy, shiny,...
View Article