Home
last modified time | relevance | path

Searched refs:microseconds (Results 1 – 25 of 103) sorted by relevance

12345

/external/skia/tools/timer/
DSysTimer_mach.cpp32 if ((end_clock.microseconds - start_clock.microseconds) < 0) { in interval_in_ms()
34 duration_clock += (1000000 + end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
37 duration_clock += (end_clock.microseconds - start_clock.microseconds) / 1000.0; in interval_in_ms()
/external/chromium_org/third_party/skia/bench/
DBenchSysTimer_mach.cpp40 if ((end_clock.microseconds - start_clock.microseconds) < 0) { in intervalInMSec()
43 + end_clock.microseconds in intervalInMSec()
44 - start_clock.microseconds) / 1000.0; in intervalInMSec()
47 duration_clock += (end_clock.microseconds - start_clock.microseconds) in intervalInMSec()
/external/chromium_org/base/time/
Dtime_posix.cc101 int64 microseconds = InMicroseconds(); in ToTimeSpec() local
103 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec()
105 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec()
109 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec()
165 int64 microseconds = us_ - kWindowsEpochDeltaMicroseconds; in Explode() local
170 if (microseconds >= 0) { in Explode()
172 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode()
177 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()
/external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
Dop_+.pass.cpp31 std::chrono::microseconds s2(5); in main()
32 std::chrono::microseconds r = s1 + s2; in main()
56 constexpr std::chrono::microseconds s2(5); in main()
57 constexpr std::chrono::microseconds r = s1 + s2; in main()
Dop_-.pass.cpp32 std::chrono::microseconds s2(5); in main()
33 std::chrono::microseconds r = s1 - s2; in main()
57 constexpr std::chrono::microseconds s2(5); in main()
58 constexpr std::chrono::microseconds r = s1 - s2; in main()
Dop_divide_duration.pass.cpp30 std::chrono::microseconds us1(15); in main()
51 constexpr std::chrono::microseconds us1(15); in main()
Dop_mod_duration.pass.cpp31 std::chrono::microseconds us1(15); in main()
50 constexpr std::chrono::microseconds us1(15); in main()
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_util.cc27 double microseconds = seconds * base::Time::kMicrosecondsPerSecond; in ConvertSecondsToTimestamp() local
29 microseconds > 0 ? microseconds + 0.5 : ceil(microseconds - 0.5)); in ConvertSecondsToTimestamp()
/external/libcxx/test/utilities/time/time.duration/time.duration.comparisons/
Dop_equal.pass.cpp43 std::chrono::microseconds s2(3000); in main()
49 std::chrono::microseconds s2(4000); in main()
86 constexpr std::chrono::microseconds s2(3000); in main()
92 constexpr std::chrono::microseconds s2(4000); in main()
Dop_less.pass.cpp57 std::chrono::microseconds s2(3000); in main()
65 std::chrono::microseconds s2(4000); in main()
114 constexpr std::chrono::microseconds s2(3000); in main()
122 constexpr std::chrono::microseconds s2(4000); in main()
/external/llvm/include/llvm/Support/
DTimeValue.h207 uint32_t microseconds() const { in microseconds() function
293 void microseconds ( int32_t micros ) { in microseconds() function
306 void usec( int64_t microseconds ) { in usec() argument
307 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec()
308 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/
Dop_mod=duration.pass.cpp21 std::chrono::microseconds us(11); in main()
22 std::chrono::microseconds us2(3); in main()
/external/libcxx/test/utilities/time/time.duration/time.duration.literals/
Dliterals.pass.cpp26 static_assert ( std::is_same<decltype( 3us ), std::chrono::microseconds>::value, "" ); in main()
49 std::chrono::microseconds us = 867us; in main()
50 assert ( us == std::chrono::microseconds(867)); in main()
Dliterals1.pass.cpp38 microseconds us = 867us; in main()
39 assert ( us == microseconds(867)); in main()
Dliterals2.pass.cpp41 std::chrono::microseconds us = 867us; in main()
42 assert ( us == std::chrono::microseconds(867)); in main()
/external/libcxx/test/utilities/time/time.duration/time.duration.cons/
Dconvert_exact.pass.cpp26 std::chrono::microseconds us = ms; in main()
32 constexpr std::chrono::microseconds us = ms; in main()
/external/chromium_org/third_party/webrtc/base/
Dtimeutils_unittest.cc131 int microseconds; in TEST() local
134 CurrentTmTime(&tm, &microseconds); in TEST()
143 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dtimeutils_unittest.cc148 int microseconds; in TEST() local
151 CurrentTmTime(&tm, &microseconds); in TEST()
160 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()
/external/stressapptest/src/
Dsattypes.h157 inline bool sat_usleep(int32 microseconds) { in sat_usleep() argument
159 req.tv_sec = microseconds / 1000000; in sat_usleep()
161 req.tv_nsec = (microseconds % 1000000) * 1000; in sat_usleep()
/external/chromium_org/third_party/icu/source/i18n/
Dutmscale.c15 #define microseconds (ticks * 10) macro
16 #define milliseconds (microseconds * 1000)
34 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
Dpopup.js28 var usec = Math.round(timer.microseconds() / response.counter);
50 var usec = Math.round(timer.microseconds() / response.counter);
/external/libcxx/test/utilities/time/
DAndroid.mk43 test_name := utilities/time/microseconds
44 test_src := microseconds.pass.cpp
/external/icu/icu4c/source/i18n/
Dutmscale.c15 #define microseconds (ticks * 10) macro
16 #define milliseconds (microseconds * 1000)
34 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
/external/chromium_org/media/cast/test/utility/
Dudp_proxy.cc72 int64 microseconds = static_cast<int64>(seconds * 1E6); in Schedule() local
76 base::TimeDelta::FromMicroseconds(microseconds)); in Schedule()
205 int64 microseconds = static_cast<int64>(seconds * 1E6); in ScheduleExtraDelay() local
210 base::TimeDelta::FromMicroseconds(microseconds)); in ScheduleExtraDelay()
293 int64 microseconds = static_cast<int64>(seconds * 1E6); in Flip() local
297 base::TimeDelta::FromMicroseconds(microseconds)); in Flip()
/external/libcxx/test/utilities/time/time.point/time.point.cast/
Dtime_point_cast.pass.cpp62 test(std::chrono::milliseconds(7265000), std::chrono::microseconds(7265000000LL)); in main()
74 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::microseconds,7265000000LL> (); in main()

12345