<chrono> is the C++11 library for representing and manipulating time.
Let's have using duration = std::chrono::steady_clock::duration. I would like to convert duration to double in seconds with …