Make AutoTimer work with std::chrono::duration instead of seconds with type double