what is the best way to measure processed time of functions specific scope?

Thank you. “FDateTime” is what i am looking for! Have a nice day.