nanshe/debugging_tools.py: Added time recording for function call length.