Simple profiling program for qtree