Re: Profiling with clang

2013-09-15 Thread Dominic Fandrey
On 15/09/2013 11:44, Roman Divacky wrote: > clang -pg should work just fine... what problems are you seeing? Oh, you're right! I could have sworn there used to be linker problems! Sorry for the noise. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting su

Re: Profiling with clang

2013-09-15 Thread Roman Divacky
clang -pg should work just fine... what problems are you seeing? On Sun, Sep 15, 2013 at 11:26:33AM +0200, Dominic Fandrey wrote: > Recently I've been using profiling with c++ -pg a lot. I'm developing > a simulation and have been able to more than double the performance, > just by focusing my att

Profiling with clang

2013-09-15 Thread Dominic Fandrey
Recently I've been using profiling with c++ -pg a lot. I'm developing a simulation and have been able to more than double the performance, just by focusing my attention on the top functions listed in the profile. Inlining them, optimising them or finding ways to call them less often. Even though I