use std::chrono in C++11 instead of boost::chrono