Afficher un message
Vieux 24/12/2007, 11h28   #2
Erik Wikström
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Performance and Profiling

On 2007-12-24 10:11, Chun wrote:
> Hello,
>
> I've written a dll and compiled with gcc in mingw environment. Running
> the profiling on it I get the following output (extract). My question
> is what is the first entry that is taking 47% of the time?
>
> void std::__uninitialized_fill_n_aux<fieldptr*, unsigned int,
> fieldptr>(fieldptr*, unsignd int, fieldptr const&, std::__false_type)
>
> Any pointers on how to reduce this time? I'm guessing it has something
> to do with templates and gcc. Is there a alternative std C++ library
> which does this quicker? - which has support on mingw and linux.


This if off-topic by the way. You are looking at the wrong values, the
ones you should be interested in are those in cumulative column, the
function you listed (__uninitialized_fill_n_aux) is just a er
function used by the some standard library functions. What you should be
looking for is those functions that you call in your code, then try to
figure out a way to do the same thing with smarter usages of the same or
other functions.

--
Erik Wikström
  Réponse avec citation
 
Page generated in 0,04582 seconds with 9 queries