I have only used valgrind on Linux so I don't know if using it on OS X is different. It's a command line tool. Read the manual for how to use it. http://valgrind.org/docs/manual/QuickStart.html
I still would need a good profiling tool for Windows.
Does Visual Studio offer a good profiling tool for cache misses etc.?
Or are there better free tools..?