OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:nanotime
(Results
51 - 75
of
343
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.java
194
long startNanos = System.
nanoTime
();
200
long elapsedNanos = System.
nanoTime
() - startNanos;
216
long startNanos = System.
nanoTime
();
226
long elapsedNanos = System.
nanoTime
() - startNanos;
241
long startNanos = System.
nanoTime
();
251
long elapsedNanos = System.
nanoTime
() - startNanos;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
InterruptionUtil.java
124
long end = System.
nanoTime
() + remainingNanos;
133
remainingNanos = end - System.
nanoTime
();
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
CachedOggStream.java
71
long time = System.
nanoTime
();
75
long dt = System.
nanoTime
() - time;
UncachedOggStream.java
103
// long timeStart = System.
nanoTime
();
106
// } while ( !eos && (System.
nanoTime
() - timeStart) < fiveMillis );
/external/junit/src/org/junit/experimental/max/
MaxHistory.java
107
starts.put(description, System.
nanoTime
()); // Get most accurate
113
long end= System.
nanoTime
();
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttpAsync.java
75
long finish = System.
nanoTime
();
88
client.newCall(new Request.Builder().tag(System.
nanoTime
()).url(url).build()).enqueue(callback);
/frameworks/base/core/java/android/view/
DisplayEventReceiver.java
104
* @param timestampNanos The timestamp of the pulse, in the {@link System#
nanoTime
()}
116
* @param timestampNanos The timestamp of the event, in the {@link System#
nanoTime
()}
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
BluetoothPacketDecoder.java
46
mTimeTracker = new MidiBtleTimeTracker(System.
nanoTime
());
99
long now = System.
nanoTime
();
/frameworks/base/services/core/java/com/android/server/webkit/
WebViewUpdateService.java
119
final long timeoutTimeMs = System.
nanoTime
() / NS_PER_MS + WAIT_TIMEOUT_MS;
123
final long timeNowMs = System.
nanoTime
() / NS_PER_MS;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
Droid.java
81
long time = System.
nanoTime
();
90
Log.v(LOGTAG, "compute Droid in" + ((System.
nanoTime
() - time) / 1E9f) + "seconds");
Mandelbulb.java
73
long time = System.
nanoTime
();
82
Log.v(LOGTAG, "compute Mandelbulb in" + ((System.
nanoTime
() - time) / 1E9f) + "seconds");
/system/extras/tests/timetest/
timetest.c
13
long long
nanotime
(void)
function
98
tnow =
nanotime
();
/art/runtime/gc/collector/
garbage_collector.cc
86
uint64_t start_time =
NanoTime
();
97
uint64_t end_time =
NanoTime
();
161
: start_time_(
NanoTime
()), collector_(collector) {
166
collector_->RegisterPause(
NanoTime
() - start_time_);
/developers/samples/android/media/MidiScope/Application/src/main/java/com/example/android/midiscope/
LoggingReceiver.java
36
mStartTime = System.
nanoTime
();
/external/guava/guava/src/com/google/common/base/
Ticker.java
49
* A ticker that reads the current time using {@link System#
nanoTime
}.
/external/guava/guava-tests/test/com/google/common/collect/
QueuesTest.java
115
long startTime = System.
nanoTime
();
120
assertTrue((System.
nanoTime
() - startTime) >= TimeUnit.MILLISECONDS.toNanos(10));
258
long startTime = System.
nanoTime
();
261
assertTrue((System.
nanoTime
() - startTime) >= TimeUnit.MILLISECONDS.toNanos(10));
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
MyRandom.java
37
this(System.
nanoTime
());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterRS.java
71
long startOverAll = System.
nanoTime
();
89
startFilter = System.
nanoTime
();
94
endFilter = System.
nanoTime
();
95
long endOverAll = System.
nanoTime
();
/external/guava/guava/src/com/google/common/util/concurrent/
AbstractListeningExecutorService.java
130
long lastTime = System.
nanoTime
();
137
long now = System.
nanoTime
();
155
long now = System.
nanoTime
();
/external/guava/guava/src/com/google/common/collect/
Queues.java
198
* This code performs one System.
nanoTime
() more than necessary, and in return, the time to
202
long deadline = System.
nanoTime
() + unit.toNanos(timeout);
209
E e = q.poll(deadline - System.
nanoTime
(), TimeUnit.NANOSECONDS);
237
long deadline = System.
nanoTime
() + unit.toNanos(timeout);
249
e = q.poll(deadline - System.
nanoTime
(), TimeUnit.NANOSECONDS);
/external/vogar/src/vogar/commands/
Command.java
226
timeoutNanoTime = System.
nanoTime
() + TimeUnit.SECONDS.toNanos(timeoutSeconds);
235
timeoutNanoTime = System.
nanoTime
() + TimeUnit.SECONDS.toNanos(2);
266
return System.
nanoTime
() >= timeoutNanoTime;
342
timer.schedule(this, System.
nanoTime
() - timeoutNanoTime, TimeUnit.NANOSECONDS);
358
timer.schedule(this, System.
nanoTime
() - timeoutNanoTime, TimeUnit.NANOSECONDS);
/libcore/jsr166-tests/src/test/java/jsr166/
CyclicBarrierTest.java
42
long startTime = System.
nanoTime
();
184
long startTime = System.
nanoTime
();
211
long startTime = System.
nanoTime
();
239
long startTime = System.
nanoTime
();
411
long startTime = System.
nanoTime
();
SynchronousQueueTest.java
196
long startTime = System.
nanoTime
();
240
long startTime = System.
nanoTime
();
258
long startTime = System.
nanoTime
();
263
startTime = System.
nanoTime
();
283
long startTime = System.
nanoTime
();
570
long startTime = System.
nanoTime
();
/libcore/luni/src/main/java/java/util/concurrent/
FutureTask.java
369
// - call
nanoTime
exactly once for each call to park
370
// - if nanos <= 0, return promptly without allocation or
nanoTime
372
// - if nanos == Long.MAX_VALUE, and
nanoTime
is non-monotonic
404
startTime = System.
nanoTime
();
409
long elapsed = System.
nanoTime
() - startTime;
416
//
nanoTime
may be slow; recheck before parking
/art/runtime/
thread_pool.cc
125
start_time_ =
NanoTime
();
153
const uint64_t wait_start = kMeasureWaitTime ?
NanoTime
() : 0;
156
const uint64_t wait_end =
NanoTime
();
Completed in 1931 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>