timing loops

 

I may consider running a lengthy For loops in my code.  Is there a function or something within MQL4 that allows you to time a block of code like

%%timeit

in a ipython notebook?

Thanks!