flameprof
flameprof copied to clipboard
What do the numbers in parentheses mean
I understand that the last two numbers may be tottime and cumtime corresponding to the profile, and the first number may be ncalls, so what is the second number 0?
def test_recursion(num):
if num < 0:
return
print('test_recursion', num)
time.sleep(0.1)
test_recursion(num-1)
test_recursion(num-3)
def main():
test_recursion(5)
if __name__ == "__main__":
main()