I am having a question on how to get statisitcal information on one
algorithm, for example, developed in C/C++. I would like to know how
many
multiplications or divisions, or how many floating point operations
have
been done for one running.
I was looking for some profiler tool which might helps, but could not
get
one.
> I am having a question on how to get statisitcal information on one
> algorithm, for example, developed in C/C++. I would like to know how
> many
> multiplications or divisions, or how many floating point operations
> have
> been done for one running.
> I was looking for some profiler tool which might helps, but could not
> get
> one.
On Sat, Jun 27, 2009 at 2:12 AM, gc <gcd...@gmail.com> wrote:
> You can try valgrind , or even the 'time' command [ if you use
> linux ], is a pretty powerful tool to analyze the behavior of the
> program.
> --Siddharth
> On May 15, 5:22 pm, xinhui <zxinhui2...@gmail.com> wrote:
> > Dear all,
> > I am having a question on how to get statisitcal information on one
> > algorithm, for example, developed in C/C++. I would like to know how
> > many
> > multiplications or divisions, or how many floating point operations
> > have
> > been done for one running.
> > I was looking for some profiler tool which might helps, but could not
> > get
> > one.
> > Thanks in advance,
> > Xinhui
-- Away from bridges and high floors,
the closer to the ground the better,
you'll be surprised what gravity can do.