clang-friendly good old time measurement.