Added gprof support