clock

LUA

clock

clock ()

Returns an approximation of CPU time (in sec) used by the program.