A Fortran function call appears as:
<ipython-input-51-f4bf36c6a947>:84(<module>).
I know, you can't identify which module is being called but at least this gives you an idea.
Another way is wrapping it into a Python function and then see timing for the Python function.