HomeSort by relevance Sort by last modified time
    Searched full:nanoseconds (Results 1 - 25 of 652) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
op_mod_duration.pass.cpp 25 std::chrono::nanoseconds ns1(15);
26 std::chrono::nanoseconds ns2(6);
27 std::chrono::nanoseconds r = ns1 % ns2;
32 std::chrono::nanoseconds ns2(28);
33 std::chrono::nanoseconds r = us1 % ns2;
44 constexpr std::chrono::nanoseconds ns1(15);
45 constexpr std::chrono::nanoseconds ns2(6);
46 constexpr std::chrono::nanoseconds r = ns1 % ns2;
51 constexpr std::chrono::nanoseconds ns2(28);
52 constexpr std::chrono::nanoseconds r = us1 % ns2
    [all...]
op_times_rep.pass.cpp 30 std::chrono::nanoseconds ns(3);
38 constexpr std::chrono::nanoseconds ns(3);
39 constexpr std::chrono::nanoseconds ns2 = ns * 5;
41 constexpr std::chrono::nanoseconds ns3 = 6 * ns;
op_divide_duration.pass.cpp 25 std::chrono::nanoseconds ns1(15);
26 std::chrono::nanoseconds ns2(5);
31 std::chrono::nanoseconds ns2(5);
46 constexpr std::chrono::nanoseconds ns1(15);
47 constexpr std::chrono::nanoseconds ns2(5);
52 constexpr std::chrono::nanoseconds ns2(5);
op_divide_rep.pass.cpp 25 std::chrono::nanoseconds ns(15);
31 constexpr std::chrono::nanoseconds ns(15);
32 constexpr std::chrono::nanoseconds ns2 = ns / 5;
op_mod_rep.pass.cpp 25 std::chrono::nanoseconds ns(15);
31 constexpr std::chrono::nanoseconds ns(15);
32 constexpr std::chrono::nanoseconds ns2 = ns % 6;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
op_mod_duration.pass.cpp 25 std::chrono::nanoseconds ns1(15);
26 std::chrono::nanoseconds ns2(6);
27 std::chrono::nanoseconds r = ns1 % ns2;
32 std::chrono::nanoseconds ns2(28);
33 std::chrono::nanoseconds r = us1 % ns2;
44 constexpr std::chrono::nanoseconds ns1(15);
45 constexpr std::chrono::nanoseconds ns2(6);
46 constexpr std::chrono::nanoseconds r = ns1 % ns2;
51 constexpr std::chrono::nanoseconds ns2(28);
52 constexpr std::chrono::nanoseconds r = us1 % ns2
    [all...]
op_times_rep.pass.cpp 30 std::chrono::nanoseconds ns(3);
38 constexpr std::chrono::nanoseconds ns(3);
39 constexpr std::chrono::nanoseconds ns2 = ns * 5;
41 constexpr std::chrono::nanoseconds ns3 = 6 * ns;
op_divide_duration.pass.cpp 25 std::chrono::nanoseconds ns1(15);
26 std::chrono::nanoseconds ns2(5);
31 std::chrono::nanoseconds ns2(5);
46 constexpr std::chrono::nanoseconds ns1(15);
47 constexpr std::chrono::nanoseconds ns2(5);
52 constexpr std::chrono::nanoseconds ns2(5);
op_divide_rep.pass.cpp 25 std::chrono::nanoseconds ns(15);
31 constexpr std::chrono::nanoseconds ns(15);
32 constexpr std::chrono::nanoseconds ns2 = ns / 5;
op_mod_rep.pass.cpp 25 std::chrono::nanoseconds ns(15);
31 constexpr std::chrono::nanoseconds ns(15);
32 constexpr std::chrono::nanoseconds ns2 = ns % 6;
  /libcore/jsr166-tests/src/test/java/jsr166/
TimeUnitTest.java 44 TimeUnit.NANOSECONDS));
66 TimeUnit.NANOSECONDS));
88 TimeUnit.NANOSECONDS));
91 TimeUnit.NANOSECONDS.convert(t,
94 TimeUnit.NANOSECONDS.convert(t,
97 TimeUnit.NANOSECONDS.convert(t,
100 TimeUnit.NANOSECONDS.convert(t,
103 TimeUnit.NANOSECONDS.convert(t,
106 TimeUnit.NANOSECONDS.convert(t,
109 TimeUnit.NANOSECONDS.convert(t
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
StopwatchTest.java 21 import static java.util.concurrent.TimeUnit.NANOSECONDS;
42 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS));
91 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS));
94 assertEquals(3, stopwatch.elapsedTime(NANOSECONDS));
100 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS));
102 assertEquals(2, stopwatch.elapsedTime(NANOSECONDS));
106 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS));
112 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS));
115 assertEquals(345, stopwatch.elapsedTime(NANOSECONDS));
124 assertEquals(4, stopwatch.elapsedTime(NANOSECONDS));
    [all...]
  /ndk/tests/build/test-gnustl-chrono/jni/
main.cpp 19 static_cast<long long>(duration_cast<nanoseconds>(end - start).count()));
  /external/guava/guava-testlib/src/com/google/common/testing/
FakeTicker.java 45 /** Advances the ticker value by {@code nanoseconds}. */
46 public FakeTicker advance(long nanoseconds) {
47 nanos.addAndGet(nanoseconds);
  /external/guava/guava/src/com/google/common/base/
Stopwatch.java 23 import static java.util.concurrent.TimeUnit.NANOSECONDS;
33 * An object that measures elapsed time in nanoseconds. It is useful to measure
153 * it is generally not useful to specify {@link TimeUnit#NANOSECONDS}
157 return desiredUnit.convert(elapsedNanos(), NANOSECONDS);
181 * For example, at the instant when {@code elapsedTime(NANOSECONDS)} would
189 double value = (double) nanos / NANOSECONDS.convert(1, unit);
197 if (SECONDS.convert(nanos, NANOSECONDS) > 0) {
200 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) {
203 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) {
206 return NANOSECONDS;
    [all...]
Ticker.java 23 * A time source; returns a time value representing the number of nanoseconds
40 * Returns the number of nanoseconds elapsed since this ticker's fixed
  /frameworks/base/location/java/android/location/
GpsClock.java 175 * Gets the GPS receiver internal clock value in nanoseconds.
196 * Sets the GPS receiver internal clock in nanoseconds.
210 * Gets the clock's time Uncertainty (1-Sigma) in nanoseconds.
220 * Sets the clock's Time Uncertainty (1-Sigma) in nanoseconds.
228 * Resets the clock's Time Uncertainty (1-Sigma) in nanoseconds.
244 * the true GPS time since 0000Z, January 6, 1980, in nanoseconds.
261 * Sets the full bias in nanoseconds.
269 * Resets the full bias in nanoseconds.
302 * Resets the clock's Bias in nanoseconds.
317 * Gets the clock's Bias Uncertainty (1-Sigma) in nanoseconds
    [all...]
  /frameworks/native/include/ui/
FrameStats.h 30 * Approximate refresh time, in nanoseconds.
35 * The times in nanoseconds for when the frame contents were posted by the producer (e.g.
47 * The times in nanoseconds for when the frame contents were ready to be presented. Note that
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Stopwatch.java 23 import static java.util.concurrent.TimeUnit.NANOSECONDS;
32 * An object that measures elapsed time in nanoseconds. It is useful to measure
152 * it is generally not useful to specify {@link TimeUnit#NANOSECONDS}
156 return desiredUnit.convert(elapsedNanos(), NANOSECONDS);
169 if (SECONDS.convert(nanos, NANOSECONDS) > 0) {
172 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) {
175 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) {
178 return NANOSECONDS;
183 case NANOSECONDS:
  /external/libcxx/src/
condition_variable.cpp 47 chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) _NOEXCEPT
53 nanoseconds d = tp.time_since_epoch();
54 if (d > nanoseconds(0x59682F000000E941))
55 d = nanoseconds(0x59682F000000E941);
  /frameworks/base/core/java/android/view/
FrameStats.java 41 * @return The refresh period in nanoseconds.
62 * @return The start time in nanoseconds or {@link #UNDEFINED_TIME_NANO}
77 * @return The end time in nanoseconds or {@link #UNDEFINED_TIME_NANO}
91 * @return The presented time in nanoseconds or {@link #UNDEFINED_TIME_NANO}
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
condition_variable.cpp 49 chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) _NOEXCEPT
55 nanoseconds d = tp.time_since_epoch();
56 if (d > nanoseconds(0x59682F000000E941))
57 d = nanoseconds(0x59682F000000E941);
  /external/llvm/include/llvm/Support/
TimeValue.h 69 typedef int32_t NanoSecondsType;///< Type used for representing nanoseconds.
87 /// Caller provides the exact value in seconds and nanoseconds. The
94 /// fractional part representing nanoseconds.
194 /// Returns only the seconds component of the TimeValue. The nanoseconds
199 /// Returns only the nanoseconds component of the TimeValue. The seconds
201 /// @brief Retrieve the nanoseconds component.
202 NanoSecondsType nanoseconds() const { return nanos_; } function in class:llvm::sys::TimeValue
254 /// Provides the seconds and nanoseconds as results in its arguments after
272 /// modifying the nanoseconds part. This is useful for whole second
280 /// The nanoseconds component of the TimeValue is set to \p nanos withou
286 void nanoseconds ( NanoSecondsType nanos ) { function in class:llvm::sys::TimeValue
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPDateTimeImpl.java 25 * seconds. The <code>nanoSeconds</code> convers only the resolution beyond a milli second.
48 private int nanoSeconds;
86 this.nanoSeconds = intCalendar.get(Calendar.MILLISECOND) * 1000000;
108 this.nanoSeconds = calendar.get(Calendar.MILLISECOND) * 1000000;
260 return nanoSeconds;
269 this.nanoSeconds = nanoSecond;
286 // if millis are equal, compare nanoseconds
287 d = nanoSeconds - ((XMPDateTime) dt).getNanoSecond();
325 calendar.set(Calendar.MILLISECOND, nanoSeconds / 1000000);
  /libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java 56 long durationMillis = TimeUnit.NANOSECONDS.toMillis(durationNanos);
78 long durationMillis = TimeUnit.NANOSECONDS.toMillis(durationNanos);
88 long durationMillis = TimeUnit.NANOSECONDS.toMillis(durationNanos);

Completed in 953 milliseconds

1 2 3 4 5 6 7 8 91011>>