HomeSort by relevance Sort by last modified time
    Searched refs:time2 (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/
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;
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;
ParallelTest.java 65 long time2 = System.nanoTime(); local
66 float duration = ((time2 - time1) / 1000000) / (float) cycles;
  /device/google/contexthub/firmware/inc/algos/
time_sync.h 33 uint64_t time2[NUM_TIME_SYNC_DATAPOINTS]; member in struct:__anon2876
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);
  /device/google/contexthub/firmware/src/algos/
time_sync.c 47 uint64_t tmp2 = sync->time2[0];
51 sync->time2[m] = sync->time2[m + 1];
54 sync->time2[NUM_TIME_SYNC_DATAPOINTS - 1] = tmp2;
60 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2) {
64 sync->time2[i] = time2;
87 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1)
109 uint64_t time2_base = sync->time2[i];
112 // Compute alpha and beta so that time1 = alpha + beta * time2
    [all...]
  /external/autotest/client/tests/tracing_microbenchmark/src/
getuid_microbench.c 11 const struct timespec *time1, const struct timespec *time2) {
13 result->tv_sec -= time2->tv_sec ;
14 if (result->tv_nsec < time2->tv_nsec) {
19 result->tv_nsec -= time2->tv_nsec;
  /hardware/bsp/intel/peripheral/libupm/src/ppd42ns/
ppd42ns.h 89 double m_timediff(timespec time1, timespec time2);
ppd42ns.cxx 133 double PPD42NS::m_timediff(timespec time1, timespec time2)
135 return ((double)time2.tv_sec + 1.0e-9*time2.tv_nsec) -
  /cts/tests/tests/view/src/android/view/animation/cts/
AnimationUtilsTest.java 91 long time2 = 0L; local
92 for (int i = 0; i < 1000 && time1 >= time2; i++) {
93 time2 = AnimationUtils.currentAnimationTimeMillis();
98 assertTrue(time2 > 0);
100 assertTrue(time2 > time1);
  /art/test/133-static-invoke-super/src/
Main.java 44 long time2 = System.nanoTime(); local
50 double msec1 = (time2 - time1) / (double) count2 / 1000000;
  /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
  /external/valgrind/none/tests/s390x/
stcke.c 10 int time2; member in struct:stcke::reader
  /external/chromium-trace/catapult/experimental/
commits.py 80 for time1, time2 in Pairwise(commit_times):
81 commit_durations.append((time1 - time2).total_seconds())
  /external/lzma/CPP/7zip/UI/Common/
UpdatePair.cpp 17 static int MyCompareTime(NFileTimeType::EEnum fileTimeType, const FILETIME &time1, const FILETIME &time2)
22 return ::CompareFileTime(&time1, &time2);
27 FileTimeToUnixTime(time2, unixTime2);
34 FileTimeToDosTime(time2, dosTime2);
  /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...]
  /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/replicaisland/src/com/replica/replicaisland/
GameRenderer.java 237 long time2 = SystemClock.uptimeMillis(); local
238 mLastTime = time2;
241 mProfileSubmitTime += time2 - time;
  /external/autotest/client/deps/glbench/src/
testbase.cc 34 uint64_t time2 = GetUTime(); local
35 return time2 - time1;
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetService.java 534 Time time2 = new Time(Utils.getTimeZone(mContext, null));
535 time2.set(sLastUpdateTime);
536 time2.normalize(true);
537 if (time.year != time2.year || time.yearDay != time2.yearDay) {
  /frameworks/av/media/libstagefright/
SampleTable.cpp 519 uint32_t abs_difference(uint32_t time1, uint32_t time2) {
520 return time1 > time2 ? time1 - time2 : time2 - time1;

Completed in 915 milliseconds

1 2 3