OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:nanotime
(Results
26 - 50
of
343
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
LoggingInterceptors.java
32
long t1 = System.
nanoTime
();
38
long t2 = System.
nanoTime
();
/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
;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
BasicPipeline.java
57
long start = System.
nanoTime
();
62
Log.v(LOGTAG,"render triangles "+((System.
nanoTime
()-start)/1E6f)+" ms");
/external/owasp/sanitizer/src/tests/org/owasp/html/
Benchmark.java
82
t0 = System.
nanoTime
();
86
t1 = System.
nanoTime
();
91
t2 = System.
nanoTime
();
95
t3 = System.
nanoTime
();
100
t4 = System.
nanoTime
();
104
t5 = System.
nanoTime
();
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java
301
long lastTime = System.
nanoTime
();
304
sumNanos += System.
nanoTime
() - lastTime;
324
long lastTime = System.
nanoTime
();
329
sumNanos += System.
nanoTime
() - lastTime;
371
long lastTime = System.
nanoTime
();
373
long nowTime = System.
nanoTime
();
396
long lastTime = System.
nanoTime
();
401
long nowTime = System.
nanoTime
();
422
long startTime = System.
nanoTime
();
433
long duration = System.
nanoTime
() - startTime
[
all
...]
/art/test/055-enum-performance/src/
Main.java
35
long time0 = System.
nanoTime
();
37
long time1 = System.
nanoTime
();
39
long time2 = System.
nanoTime
();
41
long time3 = System.
nanoTime
();
43
long time4 = System.
nanoTime
();
/external/guava/guava-bootstrap/src/java/util/concurrent/
AbstractExecutorService.java
52
long lastTime = (timed)? System.
nanoTime
() : 0;
73
long now = System.
nanoTime
();
162
long lastTime = System.
nanoTime
();
167
long now = System.
nanoTime
();
185
long now = System.
nanoTime
();
/external/okhttp/okio/okio/src/main/java/okio/
Timeout.java
63
* or 0 for {@link System#
nanoTime
}.
98
* Returns the {@linkplain System#
nanoTime
() nano time} when the deadline will
109
* Sets the {@linkplain System#
nanoTime
() nano time} when the deadline will be
123
return deadlineNanoTime(System.
nanoTime
() + unit.toNanos(duration));
148
if (hasDeadline && deadlineNanoTime - System.
nanoTime
() <= 0) {
/bionic/benchmarks/
Benchmark.cpp
35
static uint64_t
NanoTime
() {
89
total_time_ns_ +=
NanoTime
() - start_time_ns_;
96
start_time_ns_ =
NanoTime
();
/libcore/luni/src/main/java/java/net/
AddressCache.java
77
* The absolute expiry time in nanoseconds. Nanoseconds from System.
nanoTime
is ideal
86
this.expiryNanos = System.
nanoTime
() + TTL_NANOS;
105
if (entry != null && entry.expiryNanos >= System.
nanoTime
()) {
/external/guava/guava/src/com/google/common/base/
Stopwatch.java
35
* System#
nanoTime
} for a few reasons:
40
* <li>As documented by {@code
nanoTime
}, the value returned has no absolute
42
* returned by {@code
nanoTime
} at a different time. {@code Stopwatch} is a
80
* Creates (but does not start) a new stopwatch using {@link System#
nanoTime
}
100
* Creates (and starts) a new stopwatch using {@link System#
nanoTime
}
120
* Creates (but does not start) a new stopwatch using {@link System#
nanoTime
}
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Stopwatch.java
37
* System#
nanoTime
} for a few reasons:
42
* <li>As documented by {@code
nanoTime
}, the value returned has no absolute
44
* returned by {@code
nanoTime
} at a different time. {@code Stopwatch} is a
82
* Creates (but does not start) a new stopwatch using {@link System#
nanoTime
}
102
* Creates (and starts) a new stopwatch using {@link System#
nanoTime
}
122
* Creates (but does not start) a new stopwatch using {@link System#
nanoTime
}
Platform.java
34
// System.
nanoTime
() is not available in GWT, so we get milliseconds
/art/runtime/
barrier.cc
67
uint64_t abs_timeout =
NanoTime
() + MsToNs(timeout_ms);
72
uint64_t now =
NanoTime
();
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
Timer.java
26
startTime = System.
nanoTime
();
34
duration = System.
nanoTime
() - startTime;
/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/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
ApacheHttpClient.java
64
long start = System.
nanoTime
();
74
long finish = System.
nanoTime
();
OkHttp.java
65
long start = System.
nanoTime
();
69
long finish = System.
nanoTime
();
UrlConnection.java
61
long start = System.
nanoTime
();
70
long finish = System.
nanoTime
();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingCallback.java
53
long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.
nanoTime
()) + TIMEOUT_MILLIS;
63
long nowMillis = TimeUnit.NANOSECONDS.toMillis(System.
nanoTime
());
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
StopWatch.java
54
startTime = System.
nanoTime
();
66
return stop(System.
nanoTime
());
/frameworks/base/tools/layoutlib/bridge/src/android/os/
SystemClock_Delegate.java
34
private static long sBootTimeNano = System.
nanoTime
();
65
return System.
nanoTime
() - sBootTimeNano;
/libcore/luni/src/main/java/java/util/concurrent/
AbstractExecutorService.java
133
final long deadline = timed ? System.
nanoTime
() + nanos : 0L;
155
nanos = deadline - System.
nanoTime
();
241
final long deadline = System.
nanoTime
() + nanos;
248
nanos = deadline - System.
nanoTime
();
265
nanos = deadline - System.
nanoTime
();
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
SourceLatency.java
141
final long start = System.
nanoTime
();
143
long end = System.
nanoTime
();
236
final long start = System.
nanoTime
();
238
long end = System.
nanoTime
();
293
long end = System.
nanoTime
();
/external/guava/guava-testlib/src/com/google/common/testing/
GcFinalization.java
135
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
154
} while (System.
nanoTime
() - deadline < 0);
170
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
184
} while (System.
nanoTime
() - deadline < 0);
223
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
235
} while (System.
nanoTime
() - deadline < 0);
Completed in 1901 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>