Say I have a proc and the proc consists of several statements and function calls. How I can know how much time the function has taken so far?