You can also try out "gprof" a gnu profiler to collect statistics of a c/c++ program. Go through man pages of gprof to get more details.
-Sumit On Sat, Jun 27, 2009 at 2:12 AM, gc <[email protected]> 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 <[email protected]> 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---
