Add timing computation for adv version
Modify output time as csv format