We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c92e4 commit 8d29609Copy full SHA for 8d29609
debug_toolbar/panels/profiling.py
@@ -90,7 +90,7 @@ def subfuncs(self):
90
count = len(self.statobj.all_callees[self.func])
91
for i, (func, stats) in enumerate(self.statobj.all_callees[self.func].items()):
92
h1 = h + ((i + 1) / count) / (self.depth + 1)
93
- s1 = 0 if stats[3] == 0 else s * (stats[3] / self.stats[3])
+ s1 = 0 if self.stats[3] == 0 else s * (stats[3] / self.stats[3])
94
yield FunctionCall(
95
self.statobj,
96
func,
0 commit comments