OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nanoTime
(Results
1 - 25
of
129
) sorted by null
1
2
3
4
5
6
/frameworks/base/media/java/android/media/
AudioTimestamp.java
41
* in the same units and timebase as {@link java.lang.System#
nanoTime
}.
43
public long
nanoTime
;
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/
AndroidTimer.java
38
* <code>AndroidTimer</code> is a System.
nanoTime
implementation of <code>Timer</code>.
54
startTime = System.
nanoTime
();
70
return System.
nanoTime
() - startTime;
93
startTime = System.
nanoTime
();
/external/jmonkeyengine/engine/src/core/com/jme3/system/
NanoTimer.java
36
* <code>NanoTimer</code> is a System.
nanoTime
implementation of <code>Timer</code>.
52
startTime = System.
nanoTime
();
67
return System.
nanoTime
() - startTime;
89
startTime = System.
nanoTime
();
/art/test/030-bad-finalizer/src/
BadFinalizer.java
35
start = System.
nanoTime
();
38
end = System.
nanoTime
();
/dalvik/tests/030-bad-finalizer/src/
BadFinalizer.java
21
start = System.
nanoTime
();
24
end = System.
nanoTime
();
/external/jmonkeyengine/engine/src/test/jme3test/app/
TestTempVars.java
52
// long nanos = System.
nanoTime
();
56
// long milliseconds = (System.
nanoTime
() - nanos) / NANOS_TO_MS;
61
nanos = System.
nanoTime
();
65
milliseconds = (System.
nanoTime
() - nanos) / NANOS_TO_MS;
70
nanos = System.
nanoTime
();
74
milliseconds = (System.
nanoTime
() - nanos) / NANOS_TO_MS;
78
nanos = System.
nanoTime
();
82
milliseconds = (System.
nanoTime
() - nanos) / NANOS_TO_MS;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
ResearchLogDirectory.java
100
public File getLogFilePath(final long time, final long
nanoTime
) {
101
return new File(mFilesDir, getUniqueFilename(LOG_FILENAME_PREFIX, time,
nanoTime
));
104
public File getUserRecordingFilePath(final long time, final long
nanoTime
) {
106
nanoTime
));
110
final long
nanoTime
) {
111
return prefix + "-" + time + "-" +
nanoTime
+ FILENAME_SUFFIX;
/frameworks/base/tools/layoutlib/bridge/src/android/os/
SystemClock_Delegate.java
34
private static long sBootTimeNano = System.
nanoTime
();
70
return System.
nanoTime
() - sBootTimeNano;
/art/test/028-array-write/src/
Main.java
47
start = System.
nanoTime
();
50
end = System.
nanoTime
();
63
start = System.
nanoTime
();
68
end = System.
nanoTime
();
/dalvik/tests/028-array-write/src/
Main.java
33
start = System.
nanoTime
();
36
end = System.
nanoTime
();
49
start = System.
nanoTime
();
54
end = System.
nanoTime
();
/external/guava/guava/src/com/google/common/base/
Platform.java
35
/** Calls {@link System#
nanoTime
()}. */
37
return System.
nanoTime
();
/external/guava/guava-tests/test/com/google/common/util/concurrent/
SimpleTimeLimiterTest.java
59
long start = System.
nanoTime
();
72
long start = System.
nanoTime
();
88
long start = System.
nanoTime
();
104
long start = System.
nanoTime
();
123
long start = System.
nanoTime
();
133
long start = System.
nanoTime
();
151
long start = System.
nanoTime
();
164
long start = System.
nanoTime
();
175
long nanos = System.
nanoTime
() - startNanos;
InterruptionUtil.java
122
long end = System.
nanoTime
() + remainingNanos;
131
remainingNanos = end - System.
nanoTime
();
/external/guava/guava-testlib/src/com/google/common/testing/
GcFinalization.java
120
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
139
} while (System.
nanoTime
() - deadline < 0);
155
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
169
} while (System.
nanoTime
() - deadline < 0);
208
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
220
} while (System.
nanoTime
() - deadline < 0);
/libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java
53
long startNanos = System.
nanoTime
();
55
long durationNanos = System.
nanoTime
() - startNanos;
75
long startNanos = System.
nanoTime
();
77
long durationNanos = System.
nanoTime
() - startNanos;
85
long startNanos = System.
nanoTime
();
87
long durationNanos = System.
nanoTime
() - startNanos;
/external/guava/guava/src/com/google/common/util/concurrent/
Uninterruptibles.java
78
long end = System.
nanoTime
() + remainingNanos;
86
remainingNanos = end - System.
nanoTime
();
159
long end = System.
nanoTime
() + remainingNanos;
167
remainingNanos = end - System.
nanoTime
();
188
long end = System.
nanoTime
() + remainingNanos;
196
remainingNanos = end - System.
nanoTime
();
257
long end = System.
nanoTime
() + remainingNanos;
265
remainingNanos = end - System.
nanoTime
();
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Ping.java
34
sent = System.
nanoTime
();
39
received = System.
nanoTime
();
/libcore/luni/src/main/java/java/net/
AddressCache.java
49
* The absolute expiry time in nanoseconds. Nanoseconds from System.
nanoTime
is ideal
58
this.expiryNanos = System.
nanoTime
() + TTL_NANOS;
77
if (entry != null && entry.expiryNanos >= System.
nanoTime
()) {
/art/test/023-many-interfaces/src/
ManyInterfaces.java
205
start = System.
nanoTime
();
207
end = System.
nanoTime
();
210
start = System.
nanoTime
();
212
end = System.
nanoTime
();
215
start = System.
nanoTime
();
217
end = System.
nanoTime
();
220
start = System.
nanoTime
();
222
end = System.
nanoTime
();
225
start = System.
nanoTime
();
227
end = System.
nanoTime
();
[
all
...]
/dalvik/tests/023-many-interfaces/src/
ManyInterfaces.java
191
start = System.
nanoTime
();
193
end = System.
nanoTime
();
196
start = System.
nanoTime
();
198
end = System.
nanoTime
();
201
start = System.
nanoTime
();
203
end = System.
nanoTime
();
206
start = System.
nanoTime
();
208
end = System.
nanoTime
();
211
start = System.
nanoTime
();
213
end = System.
nanoTime
();
[
all
...]
/external/jmonkeyengine/engine/src/core/com/jme3/util/
SortUtil.java
122
time = System.
nanoTime
();
127
dt = System.
nanoTime
() - time;
130
time = System.
nanoTime
();
135
dt = System.
nanoTime
() - time;
138
time = System.
nanoTime
();
143
dt = System.
nanoTime
() - time;
146
time = System.
nanoTime
();
151
dt = System.
nanoTime
() - time;
/external/okhttp/src/test/java/com/squareup/okhttp/internal/
RecordingReceiver.java
50
long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.
nanoTime
()) + TIMEOUT_MILLIS;
58
long nowMillis = TimeUnit.NANOSECONDS.toMillis(System.
nanoTime
());
/libcore/crypto/src/main/java/org/conscrypt/
PinFailureLogger.java
41
lastLoggedNanos = System.
nanoTime
();
66
long currentTimeNanos = System.
nanoTime
();
/libcore/luni/src/main/java/java/lang/ref/
ReferenceQueue.java
112
long startTime = System.
nanoTime
();
118
long nanosElapsed = System.
nanoTime
() - startTime;
/external/guava/guava/src/com/google/common/collect/
Queues.java
207
* This code performs one System.
nanoTime
() more than necessary, and in return, the time to
211
long deadline = System.
nanoTime
() + unit.toNanos(timeout);
218
E e = q.poll(deadline - System.
nanoTime
(), TimeUnit.NANOSECONDS);
245
long deadline = System.
nanoTime
() + unit.toNanos(timeout);
257
e = q.poll(deadline - System.
nanoTime
(), TimeUnit.NANOSECONDS);
Completed in 1004 milliseconds
1
2
3
4
5
6