Searched refs:microseconds (Results 26 - 50 of 80) sorted by relevance

1234

/external/libcxx/test/utilities/time/time.point/time.point.nonmember/
H A Dop_+.pass.cpp29 typedef std::chrono::microseconds Duration2;
/external/chromium_org/base/time/
H A Dtime_posix.cc101 int64 microseconds = InMicroseconds(); local
103 if (microseconds >= Time::kMicrosecondsPerSecond) {
105 microseconds -= seconds * Time::kMicrosecondsPerSecond;
109 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)};
148 // Combine seconds and microseconds in a 64-bit field containing microseconds
165 int64 microseconds = us_ - kWindowsEpochDeltaMicroseconds; local
170 if (microseconds >= 0) {
172 milliseconds = microseconds / kMicrosecondsPerMillisecond;
177 milliseconds = (microseconds
[all...]
H A Dpr_time_unittest.cc30 // seconds to microseconds. Use 15th Oct 2007 12:45:00 local. This
48 const int microseconds = 441381; variable
63 comparison_time_local_2_ += microseconds;
/external/llvm/include/llvm/Support/
H A DTimeValue.h206 /// @brief Retrieve the fractional part as microseconds;
207 uint32_t microseconds() const { function in class:llvm::sys::TimeValue
218 /// Returns the TimeValue as a number of microseconds. Note that the value
222 /// @brief Convert to a number of microseconds (can overflow)
292 /// @brief Set the nanoseconds component using a number of microseconds.
293 void microseconds ( int32_t micros ) { function in class:llvm::sys::TimeValue
306 void usec( int64_t microseconds ) {
307 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND;
308 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) *
/external/chromium_org/third_party/icu/source/i18n/
H A Dutmscale.c15 #define microseconds (ticks * 10) macro
16 #define milliseconds (microseconds * 1000)
34 {microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477580), INT64_C(-9223372036854775804), INT64_C(9223372036854775804), INT64_C(62135596800000001), INT64_C(62135596799999999), INT64_C(5), INT64_C(-9223372036854775803), INT64_C(9223372036854775802)},
/external/icu/icu4c/source/i18n/
H A Dutmscale.c15 #define microseconds (ticks * 10) macro
16 #define milliseconds (microseconds * 1000)
34 {microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477580), INT64_C(-9223372036854775804), INT64_C(9223372036854775804), INT64_C(62135596800000001), INT64_C(62135596799999999), INT64_C(5), INT64_C(-9223372036854775803), INT64_C(9223372036854775802)},
/external/stressapptest/src/
H A Dsattypes.h157 inline bool sat_usleep(int32 microseconds) { argument
159 req.tv_sec = microseconds / 1000000;
160 // Convert microseconds argument to nano seconds.
161 req.tv_nsec = (microseconds % 1000000) * 1000;
/external/libcxx/test/utilities/time/time.point/time.point.cast/
H A Dtime_point_cast.pass.cpp62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL));
74 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::microseconds,7265000000LL> ();
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dtimeutils.h55 // Returns the current time in microseconds.
60 // Stores current time in *tm and microseconds in *microseconds.
61 void CurrentTmTime(struct tm *tm, int *microseconds);
H A Dtimeutils_unittest.cc41 // Make sure the Time is not returning in smaller unit like microseconds.
148 int microseconds; local
151 CurrentTmTime(&tm, &microseconds);
160 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000);
H A Dtimeutils.cc112 // FILETIME is measured in tens of microseconds since 1601-01-01 UTC.
120 // Convert to seconds and microseconds since Unix time Epoch.
140 void CurrentTmTime(struct tm *tm, int *microseconds) { argument
148 *microseconds = timeval.tv_usec;
/external/chromium_org/third_party/webrtc/base/
H A Dtimeutils.h38 // Returns the current time in microseconds.
43 // Stores current time in *tm and microseconds in *microseconds.
44 void CurrentTmTime(struct tm *tm, int *microseconds);
H A Dtimeutils_unittest.cc24 // Make sure the Time is not returning in smaller unit like microseconds.
131 int microseconds; local
134 CurrentTmTime(&tm, &microseconds);
143 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000);
H A Dtimeutils.cc95 // FILETIME is measured in tens of microseconds since 1601-01-01 UTC.
103 // Convert to seconds and microseconds since Unix time Epoch.
123 void CurrentTmTime(struct tm *tm, int *microseconds) { argument
131 *microseconds = timeval.tv_usec;
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dclock.h37 // Return a timestamp in microseconds relative to some arbitrary source; the
64 // Return a timestamp in microseconds relative to some arbitrary source; the
76 // microseconds.
78 void AdvanceTimeMicroseconds(int64_t microseconds);
/external/libcxx/test/utilities/time/time.duration/time.duration.cast/
H A Dduration_cast.pass.cpp40 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL));
/external/libcxx/src/
H A Dchrono.cpp34 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec));
/external/libcxx/test/utilities/time/time.point/time.point.comparisons/
H A Dop_equal.pass.cpp29 typedef std::chrono::microseconds Duration2;
H A Dop_less.pass.cpp37 typedef std::chrono::microseconds Duration2;
/external/chromium_org/tools/gdb/
H A Dgdb_chrome.py189 self._timedelta = datetime.timedelta(microseconds=int(val['delta_']))
201 self._timedelta = datetime.timedelta(microseconds=int(val['ticks_']))
210 datetime.timedelta(microseconds=
/external/chromium_org/media/cast/test/utility/
H A Dudp_proxy.cc72 int64 microseconds = static_cast<int64>(seconds * 1E6); local
76 base::TimeDelta::FromMicroseconds(microseconds));
205 int64 microseconds = static_cast<int64>(seconds * 1E6); local
210 base::TimeDelta::FromMicroseconds(microseconds));
293 int64 microseconds = static_cast<int64>(seconds * 1E6); local
297 base::TimeDelta::FromMicroseconds(microseconds));
/external/chromium_org/mojo/public/c/system/tests/
H A Dcore_perftest.cc249 void Sleep(int64_t microseconds) { argument
251 static_cast<time_t>(microseconds / 1000000), // Seconds.
252 static_cast<long>(microseconds % 1000000) * 1000L // Nanoseconds.
/external/llvm/lib/Support/
H A DTimer.cpp141 Result.WallTime = now.seconds() + now.microseconds() / 1000000.0;
142 Result.UserTime = user.seconds() + user.microseconds() / 1000000.0;
143 Result.SystemTime = sys.seconds() + sys.microseconds() / 1000000.0;
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp197 float user = (float)basicInfo.user_time.seconds + (float)basicInfo.user_time.microseconds / 1000000.0f;
198 float system = (float)basicInfo.user_time.seconds + (float)basicInfo.user_time.microseconds / 1000000.0f;
369 m_basic_info.user_time.seconds, m_basic_info.user_time.microseconds,
370 m_basic_info.system_time.seconds, m_basic_info.system_time.microseconds,
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dclock.cc136 // Return a timestamp in microseconds relative to some arbitrary source; the
299 void SimulatedClock::AdvanceTimeMicroseconds(int64_t microseconds) { argument
301 time_us_ += microseconds;

Completed in 608 milliseconds

1234