gettime: for better accuracy calculate cycles_per_msec instead of cycles_per_usec