Change difference calculation with clock.

9 jobs for feature/cleanupThread