Home
last modified time | relevance | path

Searched refs:time2 (Results 1 – 21 of 21) sorted by relevance

/external/netperf/
Dnetcpu_perfstat.c136 struct timeval time1, time2 ; in calibrate_idle_rate() local
194 gettimeofday (&time2, &tz); in calibrate_idle_rate()
196 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
198 time2.tv_usec += 1000000; in calibrate_idle_rate()
199 time2.tv_sec -=1; in calibrate_idle_rate()
201 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
202 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetcpu_pstat.c121 struct timeval time1, time2; in calibrate_idle_rate() local
160 gettimeofday (&time2, &tz); in calibrate_idle_rate()
162 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
164 time2.tv_usec += 1000000; in calibrate_idle_rate()
165 time2.tv_sec -=1; in calibrate_idle_rate()
167 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
168 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetcpu_kstat.c270 struct timeval time1, time2 ; in calibrate_idle_rate() local
293 gettimeofday (&time2, &tz); in calibrate_idle_rate()
295 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
297 time2.tv_usec += 1000000; in calibrate_idle_rate()
298 time2.tv_sec -=1; in calibrate_idle_rate()
300 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
301 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetcpu_looper.c505 struct timeval time1, time2 ; in calibrate_idle_rate() local
521 gettimeofday (&time2, &tz); in calibrate_idle_rate()
523 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
525 time2.tv_usec += 1000000; in calibrate_idle_rate()
526 time2.tv_sec -=1; in calibrate_idle_rate()
528 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
529 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetlib.c205 struct timeval time1, time2; variable
3028 gettimeofday(&time2, in cpu_stop()
3031 if (time2.tv_usec < time1.tv_usec) { in cpu_stop()
3032 time2.tv_usec += 1000000; in cpu_stop()
3033 time2.tv_sec -= 1; in cpu_stop()
3036 sec = time2.tv_sec - time1.tv_sec; in cpu_stop()
3037 usec = time2.tv_usec - time1.tv_usec; in cpu_stop()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DTimeZoneTest.java84 long time2 = new GregorianCalendar(1998, Calendar.JUNE, 11) in test_getOffset_long() local
88 -(5 * ONE_HOUR), st1.getOffset(time2)); in test_getOffset_long()
95 -(4 * ONE_HOUR), tz1.getOffset(time2)); in test_getOffset_long()
102 (3 * ONE_HOUR), tz1.getOffset(time2)); in test_getOffset_long()
/external/quake/quake/src/WinQuake/
Dhost.cpp637 static double time2 = 0; in _Host_Frame() local
705 time2 = Sys_FloatTime (); in _Host_Frame()
722 pass2 = (int) ((time2 - time1)*1000); in _Host_Frame()
723 pass3 = (int) ((time3 - time2)*1000); in _Host_Frame()
733 double time1, time2; in Host_Frame() local
746 time2 = Sys_FloatTime (); in Host_Frame()
748 timetotal += time2 - time1; in Host_Frame()
Dr_part.cpp654 float time2, time3; in R_DrawParticles() local
695 time2 = frametime * 10; // 15; in R_DrawParticles()
806 p->ramp += time2; in R_DrawParticles()
Dgl_rmain.cpp1476 double time2; in R_RenderView() local
1526 time2 = Sys_FloatTime (); in R_RenderView()
1527 …Con_Printf ("%3i ms %4i wpoly %4i epoly\n", (int)((time2-time1)*1000), c_brush_polys, c_alias_pol… in R_RenderView()
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java237 long time2 = SystemClock.uptimeMillis(); in onDrawFrame() local
238 mLastTime = time2; in onDrawFrame()
241 mProfileSubmitTime += time2 - time; in onDrawFrame()
/external/grub/stage2/
Dstage2.c242 int c, time1, time2 = -1, first_entry = 0; in run_menu() local
285 && (time1 = getrtsecs ()) != time2 in run_menu()
294 time2 = time1; in run_menu()
353 if (grub_timeout >= 0 && (time1 = getrtsecs()) != time2 && time1 != 0xFF) in run_menu()
362 time2 = time1; in run_menu()
Dbuiltins.c4245 int time1, time2 = -1; in terminal_func() local
4274 if ((time1 = getrtsecs ()) != time2 && time1 != 0xFF) in terminal_func()
4291 time2 = time1; in terminal_func()
/external/valgrind/main/none/tests/s390x/
Dstcke.c10 int time2; member
/external/quake/quake/src/QW/client/
Dr_part.c452 float time2, time3; in R_DrawParticles() local
494 time2 = frametime * 10; // 15; in R_DrawParticles()
580 p->ramp += time2; in R_DrawParticles()
Dcl_main.c1305 static double time2 = 0; in Host_Frame() local
1368 time2 = Sys_DoubleTime (); in Host_Frame()
1385 pass2 = (time2 - time1)*1000; in Host_Frame()
1386 pass3 = (time3 - time2)*1000; in Host_Frame()
Dgl_rmain.c1199 double time1 = 0, time2; in R_RenderView() local
1235 time2 = Sys_DoubleTime (); in R_RenderView()
1236 …Con_Printf ("%3i ms %4i wpoly %4i epoly\n", (int)((time2-time1)*1000), c_brush_polys, c_alias_pol… in R_RenderView()
/external/icu4c/test/intltest/
Dtzrulets.cpp1206 UDate time2 = getUTCMillis(2015, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local
1330 b1 = a3->getNextStart(time2, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1335 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, FALSE, d2); in TestTimeZoneRuleCoverage()
1517 UDate time2 = getUTCMillis(2000, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local
1608 avail2 = stz1->getNextTransition(time2, FALSE, tzt2); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage()
1754 UDate time2 = getUTCMillis(2020, UCAL_JANUARY, 1); in TestVTimeZoneCoverage() local
1755 UBool equiv = vtz->hasEquivalentTransitions(*otz, time1, time2, FALSE, status); in TestVTimeZoneCoverage()
Dcalregts.cpp2567 UDate time2 = cal.getTime(ec); in TestWeekShift() local
2574 if (time1 != time2) { in TestWeekShift()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DSelectorTest.java295 long time2 = System.currentTimeMillis(); in test_selectJ_Empty_Keys() local
296 assertEquals("elapsed time", SELECT_TIMEOUT, (time2 - time1), in test_selectJ_Empty_Keys()
/external/icu4c/tools/tzcode/
Dlocaltime.c166 static time_t time2(struct tm *tmp,
1859 time2(tmp, funcp, offset, okayp) in time2() function
1894 t = time2(tmp, funcp, offset, &okay);
1938 t = time2(tmp, funcp, offset, &okay);
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
DMediaPlayerPrivateAVFoundationObjC.mm52 SOFT_LINK(CoreMedia, CMTimeCompare, int32_t, (CMTime time1, CMTime time2), (time1, time2))