![]() |
|
|
|
#1 |
|
On Thu, 05 Nov 2009 21:59:40 +0100, Ignoramus11615
<> wrote: > I have a C++ program that is slower than I would like. > > I would like to use a profiler that would tell me in what functions is > it spending the most actual time. > > gprof seems like an interesting tool, but I would like to know if > there are other alternatives. There are alternatives, among others: - oprofile, which gives coarse, but based on real performance data (taken from the performance counters in the CPU) - valgrind --tool=callgrind, which gives very detailed data, which are however based on simulation None of these require you to recompile the program. > The issue is that I have a particular program that is slower under > Windows than it is under Linux, and I want to know why that is the > case. I'm afraid profiling on Linux won't show you why it's slower on Windows. Regards Jiri Palecek Jiří Paleček |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LINUX/OSS FAQ AND PRIMER REED NOW!!1! | Roy.Schestowitz@gmail.com | Computer Support | 2 | 02-21-2007 08:03 AM |
| Linux Advocacy FAQ -- Roi Schestowitz | roi_schestowitz@yahoo.com | Computer Support | 0 | 02-18-2007 01:20 AM |
| Re: Micoshaft to lose market share Sooner Or Later | 7 | Computer Support | 15 | 11-20-2006 10:57 PM |
| Would a firewall prevent Sasser worm? | Piotr Makley | Computer Security | 234 | 05-17-2004 10:35 PM |
| Linux is as buggy as Windows | Martin C.E. | Computer Security | 27 | 09-27-2003 09:01 PM |