Home | History | Annotate | Download | only in thread.condition.condvar

Lines Matching refs:Clock

14 // template <class Clock, class Duration>
17 // const chrono::time_point<Clock, Duration>& abs_time);
25 struct Clock
30 typedef std::chrono::time_point<Clock> time_point;
56 Clock::time_point t0 = Clock::now();
57 Clock::time_point t = t0 + Clock::duration(250);
60 Clock::time_point t1 = Clock::now();
63 assert(t1 - t0 < Clock::duration(250));
68 assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));