Using C++11 functionality for an improved timer.