*
* Example 1:
*
- * coarse_stop_watch<std::seconds> watch;
+ * coarse_stop_watch<std::chrono::seconds> watch;
* do_something();
- * std::cout << "time elapsed: " << watch.elapsed() << std::endl;
+ * std::cout << "time elapsed: " << watch.elapsed().count() << std::endl;
*
* auto const ttl = 60_s;
* if (watch.elapsed(ttl)) {
*
* Example:
*
- * coarse_stop_watch<std::seconds> watch;
+ * coarse_stop_watch<std::chrono::seconds> watch;
* do_something();
- * std::cout << "time elapsed: " << watch.elapsed() << std::endl;
+ * std::cout << "time elapsed: " << watch.elapsed().count() << std::endl;
*
* @author: Marcelo Juchem <marcelo@fb.com>
*/
*
* Example:
*
- * stop_watch<std::seconds> watch;
+ * stop_watch<std::chrono::seconds> watch;
* do_something();
- * std::cout << "time elapsed: " << watch.elapsed() << std::endl;
+ * std::cout << "time elapsed: " << watch.elapsed().count() << std::endl;
*
* @author: Marcelo Juchem <marcelo@fb.com>
*/