/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;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
Clock.java | 49 public long nanoTime() { 50 return System.nanoTime();
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
FPSLogger.java | 30 startTime = TimeUtils.nanoTime();
35 if (TimeUtils.nanoTime() - startTime > 1000000000) /* 1,000,000,000ns == one second */{
37 startTime = TimeUtils.nanoTime();
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
TimeUtils.java | 19 /** Wrapper around System.nanoTime() and System.currentTimeMillis(). Use this if you want to be compatible across all platforms!
23 public static long nanoTime () {
24 return System.nanoTime();
52 return nanoTime() - prevTime;
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
NanoTimeGranularityTester.java | 28 * {@link System#nanoTime()}. Note that this utility necessarily invokes {@link System#nanoTime()} 38 long first = System.nanoTime(); 39 long second = System.nanoTime(); 40 long third = System.nanoTime(); 41 long fourth = System.nanoTime(); 42 long fifth = System.nanoTime(); 43 long sixth = System.nanoTime(); 44 long seventh = System.nanoTime(); 45 long eighth = System.nanoTime(); [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
TimeUtils.java | 19 /** Wrapper around System.nanoTime() and System.currentTimeMillis(). Use this if you want to be compatible across all platforms!
26 public static long nanoTime () {
53 return nanoTime() - prevTime;
|
/art/test/565-checker-condition-liveness/src/ |
Main.java | 45 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/554-checker-rtp-checkcast/src/ |
Main.java | 64 System.nanoTime(); 66 System.nanoTime();
|
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
Sync.java | 62 for (long t0 = System.nanoTime(), t1; (nextFrame - t0) > sleepDurations.avg(); t0 = t1) { 64 sleepDurations.add((t1 = System.nanoTime()) - t0); // update average sleep time 71 for (long t0 = System.nanoTime(), t1; (nextFrame - t0) > yieldDurations.avg(); t0 = t1) { 73 yieldDurations.add((t1 = System.nanoTime()) - t0); // update average yield time 80 nextFrame = Math.max(nextFrame + NANOS_IN_SECOND / fps, System.nanoTime()); 90 yieldDurations.init((int)(-(System.nanoTime() - System.nanoTime()) * 1.333)); 92 nextFrame = System.nanoTime();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
StressTest.java | 43 long time1 = System.nanoTime(); 45 long time2 = System.nanoTime(); 50 time1 = System.nanoTime(); 52 time2 = System.nanoTime(); 60 time1 = System.nanoTime(); 64 time2 = System.nanoTime(); 76 time1 = System.nanoTime(); 81 time2 = System.nanoTime();
|
StressEmitterTest.java | 41 long time1 = System.nanoTime(); 43 long time2 = System.nanoTime(); 50 time1 = System.nanoTime(); 54 time2 = System.nanoTime(); 65 time1 = System.nanoTime(); 70 time2 = System.nanoTime();
|
/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);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/ |
RefocusFilterd1new.java | 76 startnow = System.nanoTime(); 78 endnow = System.nanoTime(); 144 startnow = System.nanoTime(); 149 endnow = System.nanoTime(); 152 startnow = System.nanoTime(); 156 endnow = System.nanoTime(); 173 startnow = System.nanoTime(); 176 endnow = System.nanoTime(); 182 startnow = System.nanoTime(); 186 endnow = System.nanoTime(); [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
RefocusFilterF32.java | 79 startnow = System.nanoTime(); 81 endnow = System.nanoTime(); 147 startnow = System.nanoTime(); 149 endnow = System.nanoTime(); 152 startnow = System.nanoTime(); 154 endnow = System.nanoTime(); 170 startnow = System.nanoTime(); 173 endnow = System.nanoTime(); 179 startnow = System.nanoTime(); 181 endnow = System.nanoTime(); [all...] |
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/ |
RefocusFilterd1new.java | 65 startnow = System.nanoTime(); 67 endnow = System.nanoTime(); 133 startnow = System.nanoTime(); 137 endnow = System.nanoTime(); 140 startnow = System.nanoTime(); 144 endnow = System.nanoTime(); 161 startnow = System.nanoTime(); 164 endnow = System.nanoTime(); 170 startnow = System.nanoTime(); 174 endnow = System.nanoTime(); [all...] |
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/ |
RefocusFilterF32.java | 63 startnow = System.nanoTime(); 65 endnow = System.nanoTime(); 131 startnow = System.nanoTime(); 133 endnow = System.nanoTime(); 136 startnow = System.nanoTime(); 138 endnow = System.nanoTime(); 154 startnow = System.nanoTime(); 157 endnow = System.nanoTime(); 163 startnow = System.nanoTime(); 165 endnow = System.nanoTime(); [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
SpriteBatchShaderTest.java | 33 long startTime = TimeUtils.nanoTime();
60 long start = TimeUtils.nanoTime();
62 begin = (TimeUtils.nanoTime() - start) / 1000000000.0f;
65 start = TimeUtils.nanoTime();
68 draw1 = (TimeUtils.nanoTime() - start) / 1000000000.0f;
70 start = TimeUtils.nanoTime();
74 draw2 = (TimeUtils.nanoTime() - start) / 1000000000.0f;
76 start = TimeUtils.nanoTime();
80 drawText = (TimeUtils.nanoTime() - start) / 1000000000.0f;
82 start = TimeUtils.nanoTime();
[all...] |
SpriteBatchTest.java | 34 long startTime = TimeUtils.nanoTime();
78 long start = TimeUtils.nanoTime();
80 begin = (TimeUtils.nanoTime() - start) / 1000000000.0f;
82 start = TimeUtils.nanoTime();
85 draw1 = (TimeUtils.nanoTime() - start) / 1000000000.0f;
87 start = TimeUtils.nanoTime();
91 draw2 = (TimeUtils.nanoTime() - start) / 1000000000.0f;
93 start = TimeUtils.nanoTime();
98 drawText = (TimeUtils.nanoTime() - start) / 1000000000.0f;
100 start = TimeUtils.nanoTime();
[all...] |
BufferUtilsTest.java | 159 long start = TimeUtils.nanoTime();
165 Gdx.app.log("BufferUtilsTest", "ByteBuffer relative put: " + (TimeUtils.nanoTime() - start) / 1000000000.0f);
168 start = TimeUtils.nanoTime();
174 Gdx.app.log("BufferUtilsTest", "ByteBuffer absolute put: " + (TimeUtils.nanoTime() - start) / 1000000000.0f);
177 start = TimeUtils.nanoTime();
182 Gdx.app.log("BufferUtilsTest", "ByteBuffer bulk put: " + (TimeUtils.nanoTime() - start) / 1000000000.0f);
185 start = TimeUtils.nanoTime();
190 Gdx.app.log("BufferUtilsTest", "ByteBuffer native bulk put: " + (TimeUtils.nanoTime() - start) / 1000000000.0f);
199 long start = TimeUtils.nanoTime();
205 Gdx.app.log("BufferUtilsTest", "ShortBuffer relative put: " + (TimeUtils.nanoTime() - start) / 1000000000.0f); [all...] |
DeltaTimeTest.java | 29 lastFrameTime = TimeUtils.nanoTime();
34 long frameTime = TimeUtils.nanoTime();
|
/art/test/482-checker-loop-back-edge-use/src/ |
Main.java | 95 for (long i = System.nanoTime(); i < 42; ++i) { 116 for (long i = System.nanoTime(); i < 42; ++i) { 140 System.nanoTime(); // beat back edge splitting 159 System.nanoTime(); // beat pre-header creation 161 System.nanoTime(); // beat back edge splitting
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
System_Delegate.java | 33 private static AtomicLong mNanosTime = new AtomicLong(System.nanoTime()); 35 private static AtomicLong mBootNanosTime = new AtomicLong(System.nanoTime()); 53 public static long nanoTime() {
|
/external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/ |
MatrixTest.java | 49 long startTime = System.nanoTime();
51 while (System.nanoTime() - startTime < 5000000000l) {
58 startTime = System.nanoTime();
60 while (System.nanoTime() - startTime < 2000000000l) {
65 startTime = System.nanoTime();
67 while (System.nanoTime() - startTime < 5000000000l) {
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
StopwatchBenchmark.java | 45 long start = System.nanoTime(); 47 total += (System.nanoTime() - start);
|