showbase: Fix undefined function use in ProfileSession.py

This commit is contained in:
rdb 2023-02-20 18:04:04 +01:00
parent afd3df8ef1
commit a3f6a62de0

View File

@ -33,7 +33,7 @@ class PercentStats(pstats.Stats):
if self.files: print()
indent = ' ' * 8
for func in self.top_level:
print(indent, func_get_function_name(func))
print(indent, pstats.func_get_function_name(func))
print(indent, self.total_calls, "function calls", end=' ')
if self.total_calls != self.prim_calls: