()
| 23 | return TICKS |
| 24 | |
| 25 | def testfunc(): |
| 26 | # 1 call |
| 27 | # 1000 ticks total: 270 ticks local, 730 ticks in subfunctions |
| 28 | global TICKS |
| 29 | TICKS += 99 |
| 30 | helper() # 300 |
| 31 | helper() # 300 |
| 32 | TICKS += 171 |
| 33 | factorial(14) # 130 |
| 34 | |
| 35 | def factorial(n): |
| 36 | # 23 calls total |
searching dependent graphs…