/device/generic/goldfish/libqemu/ |
test_guest_1.c | 96 double time1 = now_secs(); local 102 total*1.0 / (1024.*1024.*(time1-time0)), 1.0*total, time1-time0);
|
test_guest_2.c | 61 double time0, time1; local 231 time1 = now_secs(); 236 printf("Total time: %g seconds\n", time1 - time0); 238 printf("Bandwidth: %g MB/s\n", (maxCount*bufferSize/(1024.0*1024.0))/(time1 - time0) );
|
/device/google/contexthub/firmware/os/inc/algos/ |
time_sync.h | 32 uint64_t time1[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 51 time1 = time(NULL); 59 asctime(localtime(&time1))); 87 diff = time2 - time1;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
1-1.c | 24 3. Obtain time1. 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 100 if (gettimeofday(&time1, NULL) == -1) { 114 time_elapsed = (time2.tv_sec - time1.tv_sec 115 + (time2.tv_usec - time1.tv_usec) / 1000000.0);
|
2-1.c | 24 3. Obtain time1. 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 101 if (gettimeofday(&time1, 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 | 24 long time1 = instance.getFrameTimeNanos(); local 27 assertThat(time2 - time1).isEqualTo(frameInterval);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
StressEmitterTest.java | 41 long time1 = System.nanoTime(); local 44 float duration = (time2 - time1) / 1000000; 50 time1 = System.nanoTime(); 55 duration = ((time2 - time1) / 1000000) / (float) number; 65 time1 = System.nanoTime(); 71 duration = ((time2 - time1) / 1000000) / (float) number;
|
StressTest.java | 43 long time1 = System.nanoTime(); local 46 float duration = (time2 - time1) / 1000000; 50 time1 = System.nanoTime(); 53 duration = (time2 - time1) / 1000000; 60 time1 = System.nanoTime(); 65 duration = ((time2 - time1) / 1000000) / (float) number; 76 time1 = System.nanoTime(); 82 duration = ((time2 - time1) / 1000000) / (float) number;
|
ParallelTest.java | 59 long time1 = System.nanoTime(); local 66 float duration = ((time2 - time1) / 1000000) / (float) cycles;
|
/art/test/133-static-invoke-super/src/ |
Main.java | 42 long time1 = System.nanoTime(); local 49 double basisMsec = (time1 - time0) / (double) count1 / 1000000; 50 double msec1 = (time2 - time1) / (double) count2 / 1000000;
|
/art/test/927-timers/src/art/ |
Test927.java | 40 long time1 = 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 | 145 final long time1 = System.currentTimeMillis(); local
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 99 long time1 = AnimationUtils.currentAnimationTimeMillis(); local 100 assertTrue(time1 > 0); 103 for (int i = 0; i < 1000 && time1 >= time2; i++) { 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 53 time1 = get_cycles(); 60 time = time2 - time1; 75 cycles_t time1, time2, time; local 80 time1 = get_cycles(); 91 time = time2 - time1; 106 cycles_t time1, time2, time; local 111 time1 = 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 | 37 long time1 = System.nanoTime(); local 50 double msec1 = (time1 - time0) / (double) count1 / 1000000; 51 double msec2 = (time2 - time1) / (double) count2 / 1000000;
|
/external/autotest/client/deps/glbench/src/ |
testbase.cc | 31 uint64_t time1 = GetUTime(); local 36 return time2 - time1;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
Time.c | 186 difftime(time_t time1, time_t time0)
188 return (double)(time1 - time0);
417 time1(
function 521 result = time1(timeptr, &localsub, 0L);
|
/external/ltp/testcases/cve/ |
meltdown.c | 148 unsigned long long time1, time2; local 151 rdtscll(time1); 158 return time2 - time1;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimeZoneTest.java | 79 long time1 = new GregorianCalendar(1998, Calendar.NOVEMBER, 11) local 82 -(5 * ONE_HOUR), st1.getOffset(time1)); 93 -(5 * ONE_HOUR), tz1.getOffset(time1)); 100 (3 * ONE_HOUR), tz1.getOffset(time1));
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStressTest.java | 93 long time1 = System.currentTimeMillis(); local 94 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms"); 113 long time1 = System.currentTimeMillis(); local 114 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms");
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
AppGridActivity.java | 254 Long time1 = stat1.getLastTimeUsed(); local 256 return time2.compareTo(time1);
|
/external/dng_sdk/source/ |
dng_date_time.cpp | 872 uint64 time1 = (((uint64) localFT.dwHighDateTime) << 32) + localFT.dwLowDateTime; local 877 int64 time1Sec = time1 / 10000000;
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionMeasuringActivity.java | 154 long time1 = System.currentTimeMillis(); local 170 double speed = MIN_NUMBER_OF_SURFACES * 1000.0 / (time2 - time1);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
IBMCalendarTest.java | 596 Date time1 = cal.getTime(); // Get time -- should not change local 618 if (!time1.equals(time2)) { 621 logln(time1.toString()); [all...] |