Create processtimer

Calculate the time taken by system to compile and execute the entire code.