/external/libchrome/base/time/ |
clock.cc | 5 #include "base/time/clock.h" 9 Clock::~Clock() = default;
|
clock.h | 13 // A Clock is an interface for objects that vend Times. It is 28 class BASE_EXPORT Clock { 30 virtual ~Clock(); 34 // example, the system clock may change to an earlier time.
|
default_clock.h | 10 #include "base/time/clock.h" 14 // DefaultClock is a Clock implementation that uses Time::Now(). 15 class BASE_EXPORT DefaultClock : public Clock {
|
/external/google-benchmark/cmake/ |
steady_clock.cpp | 4 typedef std::chrono::steady_clock Clock; 5 Clock::time_point tp = Clock::now();
|
/external/libcxx/utils/google-benchmark/cmake/ |
steady_clock.cpp | 4 typedef std::chrono::steady_clock Clock; 5 Clock::time_point tp = Clock::now();
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
Clock.java | 3 interface Clock {
|
/external/stressapptest/src/ |
clock.h | 21 // This class implements a clock that can be overriden for unit tests. 22 class Clock { 24 virtual ~Clock() {}
|
/external/opencensus-java/api/src/main/java/io/opencensus/common/ |
Clock.java | 24 public abstract class Clock { 27 * Obtains the current instant from this clock.
|
/external/libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/ |
file_time_type.pass.cpp | 28 using Clock = file_time_type::clock; 29 ASSERT_NOEXCEPT(Clock::now()); 30 ASSERT_SAME_TYPE(decltype(Clock::now()), file_time_type); 31 ASSERT_SAME_TYPE(Clock::time_point, file_time_type); 32 volatile auto* odr_use = &Clock::is_steady;
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 22 typedef std::chrono::system_clock Clock; 24 std::chrono::time_point<Clock, Duration> t = Duration(3);
|
convert.fail.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 23 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 28 std::chrono::time_point<Clock, Duration1> t1 = t2;
|
convert.pass.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 24 typedef std::chrono::system_clock Clock; 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 29 std::chrono::time_point<Clock, Duration1> t1 = t2; 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 35 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;
|
default.pass.cpp | 24 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration> t; 32 constexpr std::chrono::time_point<Clock, Duration> t;
|
/external/webrtc/webrtc/system_wrappers/source/ |
clock_unittest.cc | 11 #include "webrtc/system_wrappers/include/clock.h" 18 Clock* clock = Clock::GetRealTimeClock(); local 21 clock->CurrentNtp(seconds, fractions); 22 int64_t milliseconds = clock->CurrentNtpInMilliseconds(); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100);
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 14 // template <class ToDuration, class Clock, class Duration> 15 // time_point<Clock, ToDuration> 16 // time_point_cast(const time_point<Clock, Duration>& t); 24 typedef std::chrono::system_clock Clock; 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
|
/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
op_-time_point.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 25 typedef std::chrono::system_clock Clock; 29 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 30 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 35 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 36 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5));
|
op_+.pass.cpp | 14 // template <class Clock, class Duration1, class Rep2, class Period2> 15 // time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type> 16 // operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs); 18 // template <class Rep1, class Period1, class Clock, class Duration2> 19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type> 20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs); 29 typedef std::chrono::system_clock Clock; 33 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); 41 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)) [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
remote_ntp_time_estimator.h | 19 class Clock; 28 explicit RemoteNtpTimeEstimator(Clock* clock); 42 Clock* clock_;
|
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/ |
sleep_until.pass.cpp | 15 // template <class Clock, class Duration> 16 // void sleep_until(const chrono::time_point<Clock, Duration>& abs_time); 24 typedef std::chrono::system_clock Clock; 25 typedef Clock::time_point time_point; 27 time_point t0 = Clock::now(); 29 time_point t1 = Clock::now();
|
/external/libcxx/test/std/utilities/time/time.point/time.point.arithmetic/ |
op_+=.pass.cpp | 25 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration> t(Duration(5)); 36 typedef std::chrono::system_clock Clock; 38 std::chrono::time_point<Clock, Duration> t(Duration(3));
|
op_-=.pass.cpp | 25 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration> t(Duration(5)); 36 typedef std::chrono::system_clock Clock; 38 std::chrono::time_point<Clock, Duration> t(Duration(3));
|
/external/libcxxabi/test/support/ |
timer.hpp | 21 typedef std::chrono::high_resolution_clock Clock; 22 typedef Clock::time_point TimePoint; 25 timer() : m_start(Clock::now()) {} 33 TimePoint end = Clock::now();
|
/external/libcxx/test/libcxx/thread/thread.condition/ |
PR30202_notify_from_pthread_created_thread.pass.cpp | 38 typedef std::chrono::high_resolution_clock Clock; 56 Clock::time_point t0 = Clock::now(); 59 Clock::time_point t1 = Clock::now(); 68 Clock::time_point t0 = Clock::now(); 71 Clock::time_point t1 = Clock::now();
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
mutex_time_point.pass.cpp | 18 // template <class Clock, class Duration> 19 // unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 28 typedef std::chrono::steady_clock Clock; 29 typedef Clock::time_point time_point; 30 typedef Clock::duration duration; 36 time_point t0 = Clock::now(); 37 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); 39 time_point t1 = Clock::now(); 46 time_point t0 = Clock::now(); 47 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)) [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
try_lock_until.pass.cpp | 19 // template <class Clock, class Duration> 20 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 31 typedef std::chrono::steady_clock Clock; 32 typedef Clock::time_point time_point; 33 typedef Clock::duration duration; 51 time_point t0 = Clock::now(); 52 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); 53 time_point t1 = Clock::now(); 61 time_point t0 = Clock::now(); 62 assert(m.try_lock_until(Clock::now() + WaitTime) == false) [all...] |