fix a bug that call graph uses the self time of calls as the total time