Added main function time profile