If, as you say, you're using Unix, valgrind[^] could be useful - it's an open source profiling tool suite. If you are using a compatible Unix system, dtrace[^] could be useful. If you're using OS X, then Shark[^] could be used.
If, as you say, you're using Unix, valgrind[^] could be useful - it's an open source profiling tool suite. If you are using a compatible Unix system, dtrace[^] could be useful. If you're using OS X, then Shark[^] could be used.