Home
last modified time | relevance | path

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

12345

/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
Dop_mod=duration.pass.cpp24 std::chrono::microseconds us1(11); in test_constexpr()
25 std::chrono::microseconds us2(3); in test_constexpr()
34 std::chrono::microseconds us1(11); in main()
35 std::chrono::microseconds us2(3); in main()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dhandler_tracking.ipp37 uint64_t microseconds;
46 microseconds = static_cast<uint64_t>(now.total_microseconds() % 1000000);
91 timestamp.seconds, timestamp.microseconds,
111 timestamp.seconds, timestamp.microseconds,
124 timestamp.seconds, timestamp.microseconds, id_);
136 timestamp.seconds, timestamp.microseconds,
149 timestamp.seconds, timestamp.microseconds,
163 timestamp.seconds, timestamp.microseconds,
176 timestamp.seconds, timestamp.microseconds,
190 timestamp.seconds, timestamp.microseconds, id_);
[all …]
/external/libchrome/base/time/
Dtime_posix.cc114 int64_t microseconds = InMicroseconds(); in ToTimeSpec() local
116 if (microseconds >= Time::kMicrosecondsPerSecond) { in ToTimeSpec()
118 microseconds -= seconds * Time::kMicrosecondsPerSecond; in ToTimeSpec()
122 static_cast<long>(microseconds * Time::kNanosecondsPerMicrosecond)}; in ToTimeSpec()
178 int64_t microseconds = us_ - kWindowsEpochDeltaMicroseconds; in Explode() local
183 if (microseconds >= 0) { in Explode()
185 milliseconds = microseconds / kMicrosecondsPerMillisecond; in Explode()
190 milliseconds = (microseconds - kMicrosecondsPerMillisecond + 1) / in Explode()
/external/libcxx/utils/google-benchmark/src/
Dsleep.cc34 void SleepForMicroseconds(int microseconds) {
36 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond;
37 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
/external/google-benchmark/src/
Dsleep.cc35 void SleepForMicroseconds(int microseconds) {
37 sleep_time.tv_sec = microseconds / kNumMicrosPerSecond;
38 sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
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_+.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_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/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DUnix.h78 inline std::chrono::microseconds toDuration(const struct timeval &TV) { in toDuration()
80 std::chrono::microseconds(TV.tv_usec); in toDuration()
94 inline struct timeval toTimeVal(TimePoint<std::chrono::microseconds> TP) { in toTimeVal()
/external/llvm/include/llvm/Support/
DTimeValue.h217 uint32_t microseconds() const { in microseconds() function
303 void microseconds ( int32_t micros ) { in microseconds() function
316 void usec( int64_t microseconds ) { in usec() argument
317 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec()
318 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h217 uint32_t microseconds() const { in microseconds() function
303 void microseconds ( int32_t micros ) { in microseconds() function
316 void usec( int64_t microseconds ) { in usec() argument
317 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec()
318 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTimeValue.h208 uint32_t microseconds() const { in microseconds() function
302 void microseconds ( int32_t micros ) { in microseconds() function
315 void usec( int64_t microseconds ) { in usec() argument
316 this->seconds_ = microseconds / MICROSECONDS_PER_SECOND; in usec()
317 this->nanos_ = NanoSecondsType(microseconds % MICROSECONDS_PER_SECOND) * in usec()
/external/libcxx/test/std/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/python/cpython2/Lib/sqlite3/
Ddbapi2.py73 microseconds = int('{:0<6.6}'.format(timepart_full[1].decode()))
75 microseconds = 0
77 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
/external/libcxx/test/std/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.cpp39 microseconds us = 867us; in main()
40 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/std/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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DGenerateCTimeScaleData.java38 private static final long microseconds = ticks * 10; field in GenerateCTimeScaleData
39 private static final long milliseconds = microseconds * 1000;
80 } else if (units == microseconds) { in main()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java300 public static Timestamp createTimestampFromMicros(long microseconds) { in createTimestampFromMicros() argument
301 return normalizedTimestamp(microseconds / MICROS_PER_SECOND, in createTimestampFromMicros()
302 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in createTimestampFromMicros()
308 public static Duration createDurationFromMicros(long microseconds) { in createDurationFromMicros() argument
309 return normalizedDuration(microseconds / MICROS_PER_SECOND, in createDurationFromMicros()
310 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in createDurationFromMicros()
/external/stressapptest/src/
Dsattypes.h161 inline bool sat_usleep(int32 microseconds) { in sat_usleep() argument
163 req.tv_sec = microseconds / 1000000; in sat_usleep()
165 req.tv_nsec = (microseconds % 1000000) * 1000; in sat_usleep()
/external/icu/icu4c/source/i18n/
Dutmscale.c17 #define microseconds (ticks * 10) macro
18 #define milliseconds (microseconds * 1000)
36 …{microseconds, INT64_C(62135596800000000), INT64_C(-984472800485477580), INT64_C(860201606885477…
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc132 int microseconds; in TEST() local
135 CurrentTmTime(&tm, &microseconds); in TEST()
144 EXPECT_TRUE(0 <= microseconds && microseconds < 1000000); in TEST()

12345