Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Submission Summary: 0 pending, 10 declined, 5 accepted (15 total, 33.33% accepted)

×
Software

Submission + - Good profiling tools for C/C++ unser un*x?

serviscope_minor writes: It should be well known to any developer that you should only optimize parts of a program which need optimizing. And the way to find those parts is through profiling. This simplifies one point: profiling is difficult. The obvious way is to enable profiling in the compiler and use gprof, but this has problems. Firstly there is no point in profiling a program without turning on -O3 (or which ever), since this can change the results dramatically. Secondly, -O3 will inline functions which can ruin profiling results by making them far too coarse. Even if it doesn't do this, there is no way of determining which part of a function is taking up all the time. So that brings me to my question: does anyone know of profiling tools which do not suffer from these problems? My platform is C++ (using g++) on Linux.
Linux Business

Submission + - Ubuntu on Dell: interesting to a wide audience.

serviscope_minor writes: You heard earlier today that Dell will be shipping Ubuntu on selected models. Naturally, this is interesting to slashdotters. However, the interest generated by a wider audience will ultimately be more important. Well, apparently, this is the 3rd most popuar topic on the BBC at the moment. So apparently this is interesting to a general audience. I believe that this bodes very well for the future.

Slashdot Top Deals

Software production is assumed to be a line function, but it is run like a staff function. -- Paul Licker

Working...