os.clock ()
Returns an approximation of the amount in seconds of CPU time used by the program.