/device/google/contexthub/firmware/os/inc/algos/ |
time_sync.h | 33 uint64_t time2[NUM_TIME_SYNC_DATAPOINTS]; member in struct:__anon1908 50 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2); 51 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1);
|
/external/ltp/testcases/kernel/fs/lftest/ |
lftest.c | 48 time_t time1, time2; local 84 time2 = time(NULL); 86 asctime(localtime(&time2))); 87 diff = time2 - time1;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
1-1.c | 26 5. Obtain time2, and find the difference between time2 and time1. 27 6. Verify that (time2-time1) is equal to SIGTIMEDWAITSEC within a reasonable 61 struct timeval time1, time2; local 109 if (gettimeofday(&time2, NULL) == -1) { 114 time_elapsed = (time2.tv_sec - time1.tv_sec 115 + (time2.tv_usec - time1.tv_usec) / 1000000.0);
|
2-1.c | 27 5. Obtain time2, and find the difference between time2 and time1. 28 6. Verify that (time2-time1) is equal to SIGTIMEDWAITSEC within a reasonable 62 struct timeval time1, time2; local 110 if (gettimeofday(&time2, NULL) == -1) { 115 time_elapsed = (time2.tv_sec - time1.tv_sec 116 + (time2.tv_usec - time1.tv_usec) / 1000000.0);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowChoreographerTest.java | 25 long time2 = instance.getFrameTimeNanos(); local 27 assertThat(time2 - time1).isEqualTo(frameInterval);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
StressEmitterTest.java | 43 long time2 = System.nanoTime(); local 44 float duration = (time2 - time1) / 1000000; 54 time2 = System.nanoTime(); 55 duration = ((time2 - time1) / 1000000) / (float) number; 70 time2 = System.nanoTime(); 71 duration = ((time2 - time1) / 1000000) / (float) number;
|
StressTest.java | 45 long time2 = System.nanoTime(); local 46 float duration = (time2 - time1) / 1000000; 52 time2 = System.nanoTime(); 53 duration = (time2 - time1) / 1000000; 64 time2 = System.nanoTime(); 65 duration = ((time2 - time1) / 1000000) / (float) number; 81 time2 = System.nanoTime(); 82 duration = ((time2 - time1) / 1000000) / (float) number;
|
ParallelTest.java | 65 long time2 = System.nanoTime(); local 66 float duration = ((time2 - time1) / 1000000) / (float) cycles;
|
/external/valgrind/none/tests/s390x/ |
stcke.c | 10 int time2; member in struct:stcke::reader
|
/art/test/133-static-invoke-super/src/ |
Main.java | 44 long time2 = System.nanoTime(); local 50 double msec1 = (time2 - time1) / (double) count2 / 1000000;
|
/art/test/927-timers/src/art/ |
Test927.java | 41 long time2 = getTime(); local 43 // Under normal circumstances, time1 <= time2. 44 if (time2 < time1) { 45 throw new RuntimeException("Time unexpectedly decreased: " + time1 + " vs " + time2);
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerLauncherApiTest.java | 159 final long time2 = System.currentTimeMillis(); local 283 time2,
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 102 long time2 = 0L; local 103 for (int i = 0; i < 1000 && time1 >= time2; i++) { 104 time2 = AnimationUtils.currentAnimationTimeMillis(); 109 assertTrue(time2 > 0); 111 assertTrue(time2 > time1);
|
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/ |
test-cmpxchg-nolock.c | 48 cycles_t time1, time2, time; local 57 time2 = get_cycles(); 60 time = time2 - time1; 75 cycles_t time1, time2, time; local 88 time2 = get_cycles(); 91 time = time2 - time1; 106 cycles_t time1, time2, time; local 115 time2 = get_cycles(); 118 time = time2 - time1; 133 cycles_t time1, time2, time local 161 cycles_t time1, time2, time; local 191 cycles_t time1, time2, time; local 218 cycles_t time1, time2, time; local 246 cycles_t time1, time2, time; local [all...] |
/art/test/055-enum-performance/src/ |
Main.java | 39 long time2 = System.nanoTime(); local 51 double msec2 = (time2 - time1) / (double) count2 / 1000000; 52 double msec3 = (time3 - time2) / (double) count3 / 1000000;
|
/external/autotest/client/deps/glbench/src/ |
testbase.cc | 35 uint64_t time2 = GetUTime(); local 36 return time2 - time1;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
Time.c | 402 time2(struct tm * const tmp, void (* const funcp)(const time_t*, long, struct tm*),
function 435 t = time2(tmp, funcp, offset, &okay);
483 t = time2(tmp, funcp, offset, &okay);
|
/external/ltp/testcases/cve/ |
meltdown.c | 148 unsigned long long time1, time2; local 156 rdtscll(time2); 158 return time2 - time1;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimeZoneTest.java | 84 long time2 = new GregorianCalendar(1998, Calendar.JUNE, 11) local 88 -(5 * ONE_HOUR), st1.getOffset(time2)); 95 -(4 * ONE_HOUR), tz1.getOffset(time2)); 102 (3 * ONE_HOUR), tz1.getOffset(time2));
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
AppGridActivity.java | 255 Long time2 = stat2.getLastTimeUsed(); local 256 return time2.compareTo(time1);
|
/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 122 int time2 = mReverb.getDecayTime(); local 124 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 125 ((float)time2 < (float)(time * DELAY_TOLERANCE))); 164 // int time2 = mReverb.getReverbDelay(); 166 // ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 167 // ((float)time2 < (float)(time * DELAY_TOLERANCE))); 169 int time2 = mReverb.getReverbDelay(); local 201 // int time2 = mReverb.getReflectionsDelay(); 203 // ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 204 // ((float)time2 < (float)(time * DELAY_TOLERANCE))) [all...] |
AudioEffectTest.java | 459 int time2 = mEffect.byteArrayToInt(value); local 461 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 462 ((float)time2 < (float)(time * DELAY_TOLERANCE))); 567 int time2 = mEffect.byteArrayToInt(value); local 569 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 570 ((float)time2 < (float)(time * DELAY_TOLERANCE))); [all...] |
/external/dng_sdk/source/ |
dng_date_time.cpp | 873 uint64 time2 = (((uint64) utcFT .dwHighDateTime) << 32) + utcFT .dwLowDateTime; local 878 int64 time2Sec = time2 / 10000000;
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameRenderer.java | 237 long time2 = SystemClock.uptimeMillis(); local 238 mLastTime = time2; 241 mProfileSubmitTime += time2 - time;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTest.java | 664 Date time2 = getDate(2001, Calendar.MAY, 23); local 665 String str2 = fmt2.format(time2); 666 logln("Chinese calendar time: " + time2 + " result: " + str2); 749 errln("time2: " + chineseCalendar2.getTimeInMillis()) [all...] |