Re: Performance and Profiling help
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 helper
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