/device/google/contexthub/firmware/os/inc/algos/ |
time_sync.h | 33 uint64_t time2[NUM_TIME_SYNC_DATAPOINTS]; member in struct:__anon3280 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/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 | 157 final long time2 = System.currentTimeMillis(); local 281 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;
|
/external/netperf/src/ |
netcpu_kstat.c | 270 struct timeval time1, time2 ; local 293 gettimeofday (&time2, &tz); 295 if (time2.tv_usec < time1.tv_usec) 297 time2.tv_usec += 1000000; 298 time2.tv_sec -=1; 300 sec = time2.tv_sec - time1.tv_sec; 301 usec = time2.tv_usec - time1.tv_usec;
|
netcpu_perfstat.c | 136 struct timeval time1, time2 ; local 194 gettimeofday (&time2, &tz); 196 if (time2.tv_usec < time1.tv_usec) 198 time2.tv_usec += 1000000; 199 time2.tv_sec -=1; 201 sec = time2.tv_sec - time1.tv_sec; 202 usec = time2.tv_usec - time1.tv_usec;
|
netcpu_pstat.c | 121 struct timeval time1, time2; local 160 gettimeofday (&time2, &tz); 162 if (time2.tv_usec < time1.tv_usec) 164 time2.tv_usec += 1000000; 165 time2.tv_sec -=1; 167 sec = time2.tv_sec - time1.tv_sec; 168 usec = time2.tv_usec - time1.tv_usec;
|
netcpu_looper.c | 506 struct timeval time1, time2 ; 522 gettimeofday (&time2, &tz); 524 if (time2.tv_usec < time1.tv_usec) 526 time2.tv_usec += 1000000; 527 time2.tv_sec -=1; 529 sec = time2.tv_sec - time1.tv_sec; 530 usec = time2.tv_usec - time1.tv_usec; 505 struct timeval time1, time2 ; local
|
/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);
|
/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));
|
/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 120 int time2 = mReverb.getDecayTime(); local 122 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 123 ((float)time2 < (float)(time * DELAY_TOLERANCE))); 162 // int time2 = mReverb.getReverbDelay(); 164 // ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 165 // ((float)time2 < (float)(time * DELAY_TOLERANCE))); 167 int time2 = mReverb.getReverbDelay(); local 199 // int time2 = mReverb.getReflectionsDelay(); 201 // ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 202 // ((float)time2 < (float)(time * DELAY_TOLERANCE))) [all...] |
AudioEffectTest.java | 457 int time2 = mEffect.byteArrayToInt(value); local 459 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 460 ((float)time2 < (float)(time * DELAY_TOLERANCE))); 565 int time2 = mEffect.byteArrayToInt(value); local 567 ((float)time2 > (float)(time / DELAY_TOLERANCE)) && 568 ((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;
|