Previous timing code only gave CPU time and when executing on the GPU the timing code did not accurately represent the true computation time. Replaced with timeval, provide ms support.