Time Calculation of Macro Running Time