How to set Execution timer in a Form to find the duration of the form running.?

I am new to Ax 2012, and now I want to find the running time of the Form where I was filtering the balance of the Vendor based on the Accounting Unit for the specific date range. I have used two Date Edit (FromDate & ToDate), and Button to filter data.