I have two functions that carry out the same functionality But has been implemented in different ways. I wanted to use the efficient one from the two.
I could write the Timestamp
before entering and after exiting the functions in a file. But I wanted to know if there is a better way to figure out the above.
I saw profilers
like VerySleepy, Visual Studios 2008 C++ Profiler
But the information they generated was which function is called when. (perhaps i have gone wrong in using them).
Also wanted to know if there is something existing for Visual C++ like Valgrind
on Linux.