OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:nanotime
(Results
1 - 25
of
343
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/system/core/liblog/tests/
benchmark_main.cpp
52
static uint64_t
NanoTime
() {
111
uint64_t StartTimeNs =
NanoTime
();
117
gBenchmarkTotalTimeNs =
NanoTime
() - StartTimeNs;
124
uint64_t s =
NanoTime
();
126
s =
NanoTime
() - s;
136
s =
NanoTime
();
138
s =
NanoTime
() - s;
187
int64_t diff =
NanoTime
() - gBenchmarkStartTimeNs;
197
gBenchmarkStartTimeNs =
NanoTime
();
201
void StopBenchmarkTiming(uint64_t
NanoTime
) {
[
all
...]
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
CancelCall.java
36
final long startNanos = System.
nanoTime
();
42
System.out.printf("%.2f Canceling call.%n", (System.
nanoTime
() - startNanos) / 1e9f);
44
System.out.printf("%.2f Canceled call.%n", (System.
nanoTime
() - startNanos) / 1e9f);
49
System.out.printf("%.2f Executing call.%n", (System.
nanoTime
() - startNanos) / 1e9f);
52
(System.
nanoTime
() - startNanos) / 1e9f, response);
55
(System.
nanoTime
() - startNanos) / 1e9f, e);
/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/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;
/art/test/028-array-write/src/
Main.java
47
start = System.
nanoTime
();
50
end = System.
nanoTime
();
63
start = System.
nanoTime
();
68
end = System.
nanoTime
();
/libcore/jsr166-tests/src/test/java/jsr166/
SystemTest.java
40
long n1 = System.
nanoTime
();
42
long n2 = System.
nanoTime
();
58
long n1 = System.
nanoTime
();
64
long n2 = System.
nanoTime
();
/art/test/133-static-invoke-super/src/
Main.java
40
long time0 = System.
nanoTime
();
42
long time1 = System.
nanoTime
();
44
long time2 = System.
nanoTime
();
/frameworks/base/media/java/android/media/
MediaTimestamp.java
47
* Get the {@link java.lang.System#
nanoTime
system time} corresponding to the media time
51
return
nanoTime
;
68
public final long
nanoTime
;
75
nanoTime
= systemNs;
82
nanoTime
= 0;
/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
...]
/frameworks/base/core/java/android/view/
FrameInfo.java
29
* All times in nanoseconds from CLOCK_MONOTONIC/System.
nanoTime
()
31
* To minimize overhead from System.
nanoTime
() calls we infer durations of
99
mFrameInfo[HANDLE_INPUT_START] = System.
nanoTime
();
103
mFrameInfo[ANIMATION_START] = System.
nanoTime
();
107
mFrameInfo[PERFORM_TRAVERSALS_START] = System.
nanoTime
();
111
mFrameInfo[DRAW_START] = 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;
/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
();
/cts/tests/tests/view/src/android/view/animation/cts/
AnimationTestCtsActivity.java
54
long start = System.
nanoTime
();
55
while (!mIsVisible && (System.
nanoTime
() - start) < VISIBLE_TIMEOUT) {
/external/guava/guava/src/com/google/common/base/
Platform.java
32
/** Calls {@link System#
nanoTime
()}. */
34
return System.
nanoTime
();
/external/guava/guava/src/com/google/common/util/concurrent/
Uninterruptibles.java
78
long end = System.
nanoTime
() + remainingNanos;
86
remainingNanos = end - System.
nanoTime
();
166
long end = System.
nanoTime
() + remainingNanos;
174
remainingNanos = end - System.
nanoTime
();
195
long end = System.
nanoTime
() + remainingNanos;
203
remainingNanos = end - System.
nanoTime
();
269
long end = System.
nanoTime
() + remainingNanos;
277
remainingNanos = end - System.
nanoTime
();
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
ProfileBase.java
39
mStartNanos = System.
nanoTime
();
48
mLastMark = System.
nanoTime
();
54
long time = System.
nanoTime
();
61
long time = System.
nanoTime
();
68
long time = System.
nanoTime
();
/external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/
SLF4JBridgeHandlerPerfTest.java
80
long start = System.
nanoTime
();
84
long end = System.
nanoTime
();
89
long start = System.
nanoTime
();
93
long end = System.
nanoTime
();
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
MessageFormatterPerfTest.java
73
long start = System.
nanoTime
();
82
long end = System.
nanoTime
();
87
long start = System.
nanoTime
();
94
long end = System.
nanoTime
();
/hardware/ril/include/telephony/
librilutils.h
30
* return the same value as System.
nanoTime
in java.
/art/runtime/base/
time_utils_test.cc
53
auto start =
NanoTime
();
55
EXPECT_GT(
NanoTime
() - start, MsToNs(1000));
/art/test/030-bad-finalizer/src/
Main.java
54
start = System.
nanoTime
();
58
end = System.
nanoTime
();
/external/conscrypt/src/platform/java/org/conscrypt/
PinFailureLogger.java
41
lastLoggedNanos = System.
nanoTime
();
66
long currentTimeNanos = System.
nanoTime
();
/external/guava/guava-tests/benchmark/com/google/common/base/
StopwatchBenchmark.java
45
long start = System.
nanoTime
();
47
total += (System.
nanoTime
() - start);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Ping.java
34
sent = System.
nanoTime
();
39
received = System.
nanoTime
();
Completed in 4839 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>