/bionic/libc/tzcode/ |
difftime.c | 11 difftime(const time_t time1, const time_t time0) 18 return (double) time1 - (double) time0; 24 if (time1 >= time0) 25 return time1 - time0; 26 else return -(double) (time0 - time1); 29 ** Handle cases where both time1 and time0 have the same sign 32 if ((time1 < 0) == (time0 < 0)) 33 return time1 - time0; 35 ** time1 and time0 have opposite signs. 41 return (long double) time1 - (long double) time0; [all...] |
/device/generic/goldfish/libqemu/ |
test_guest_1.c | 63 double time0 = 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 160 time0 = 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) );
|
/external/chromium_org/media/formats/mp2t/ |
timestamp_unroller.cc | 53 int64 time0 = ((previous_unrolled_time_high - 1) << nbits) | timestamp; local 59 int64 diff0 = time0 - previous_unrolled_timestamp_; 75 unrolled_time = time0;
|
/art/test/133-static-invoke-super/src/ |
Main.java | 40 long time0 = System.nanoTime(); local 49 double basisMsec = (time1 - time0) / (double) count1 / 1000000;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStressTest.java | 79 long time0 = System.currentTimeMillis(); local 94 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms"); 98 long time0 = System.currentTimeMillis(); local 114 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms");
|
/external/chromium_org/ui/events/gesture_detection/ |
motion_event_buffer.cc | 135 const base::TimeTicks time0 = event0.GetEventTime(); local 137 DCHECK(time0 < time1); 138 DCHECK(time0 <= resample_time); 140 const float alpha = (resample_time - time0).InMillisecondsF() / 141 (time1 - time0).InMillisecondsF(); 324 const base::TimeTicks time0 = event0->GetEventTime(); local 326 base::TimeDelta delta = time1 - time0;
|
/art/test/055-enum-performance/src/ |
Main.java | 35 long time0 = System.nanoTime(); local 50 double msec1 = (time1 - time0) / (double) count1 / 1000000;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | 98 long time0 = 1000; local 103 Bundle.EMPTY, time0, 0 /* flex*/, 0, 0, true); 104 long historyId = engine.insertStartSyncEvent(op, time0); 105 long time1 = time0 + SyncStorageEngine.MILLIS_IN_4WEEKS * 2; 106 engine.stopSyncEvent(historyId, time1 - time0, "yay", 0, 0); [all...] |