Home | History | Annotate | Download | only in gl

Lines Matching full:time

10 #include "base/time/time.h"
16 const int64 kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400;
17 const int64 kMaxVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 10;
51 // The actual clock used for the system time returned by glXGetSyncValuesOML
53 // CLOCK_REALTIME or CLOCK_MONOTONIC, so we compare the returned time to the
54 // current time according to both clocks, and assume that the returned time
55 // was produced by the clock whose current time is closest to it, subject
56 // to the restriction that the returned time must not be in the future
57 // (since it is the time of a vblank that has already occurred).
81 real_time.tv_sec * base::Time::kMicrosecondsPerSecond +
82 real_time.tv_nsec / base::Time::kNanosecondsPerMicrosecond;
84 monotonic_time.tv_sec * base::Time::kMicrosecondsPerSecond +
85 monotonic_time.tv_nsec / base::Time::kNanosecondsPerMicrosecond;
87 // We need the time according to CLOCK_MONOTONIC, so if we've been given
88 // a time from CLOCK_REALTIME, we need to convert.
108 base::Time::kMicrosecondsPerSecond)
141 << "Last time base of "
143 << "Current time base of "