Home
last modified time | relevance | path

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

/development/ndk/platforms/android-3/include/sys/
Dtime.h46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1; \
68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
72 (res)->tv_sec -= 1; \
/development/ndk/platforms/android-21/include/sys/
Dtime.h46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1; \
68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
72 (res)->tv_sec -= 1; \
/development/ndk/sources/android/ndk_helper/
DperfMonitor.cpp51 double time = Time.tv_sec + Time.tv_usec * 1.0 / 1000000.0; in Update()
56 if( Time.tv_sec - tv_last_sec_ >= 1 ) in Update()
58 double time = Time.tv_sec + Time.tv_usec * 1.0 / 1000000.0; in Update()
60 tv_last_sec_ = Time.tv_sec; in Update()
DperfMonitor.h55 double ret = time.tv_sec + time.tv_usec * 1.0 / 1000000.0; in GetCurrentTime()
/development/perftests/panorama/
Dbenchmark.cpp107 (t3.tv_sec - t1.tv_sec) + (t3.tv_nsec - t1.tv_nsec)/1e9; in main()
109 (t2.tv_sec - t1.tv_sec) + (t2.tv_nsec - t1.tv_nsec)/1e9; in main()
111 (t3.tv_sec - t2.tv_sec) + (t3.tv_nsec - t2.tv_nsec)/1e9; in main()
/development/ndk/platforms/android-21/include/linux/
Dtime.h26 __kernel_time_t tv_sec; member
32 __kernel_time_t tv_sec; member
Dfirewire-cdev.h295 __s64 tv_sec; member
Dcoda.h72 time_t tv_sec; member
/development/ndk/platforms/android-3/include/linux/
Dtime.h20 time_t tv_sec; member
26 time_t tv_sec; member
Dcoda.h62 time_t tv_sec; member
/development/perftests/panorama/feature_stab/src/dbregtest/
Ddbregtest.cpp208 double elapsedTime = (ts2.tv_sec - ts1.tv_sec)*1000.0; // sec to ms in main()
242 elapsedTime = (ts4.tv_sec - ts3.tv_sec)*1000.0; // sec to ms in main()
/development/ndk/platforms/android-3/include/
Dutmp.h79 #define ut_time ut_tv.tv_sec
/development/ndk/platforms/android-21/include/
Dutmp.h85 #define ut_time ut_tv.tv_sec
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dapp-android.c43 return (long)(now.tv_sec*1000 + now.tv_usec/1000); in _getTime()
Dapp-linux.c235 appRender(timeNow.tv_sec * 1000 + timeNow.tv_usec / 1000, in main()
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c46 return tv.tv_sec*1000. + tv.tv_usec/1000.; in now_ms()
397 t.tv_sec = t.tv_nsec = 0; in engine_draw_frame()
399 int64_t time_ms = (((int64_t)t.tv_sec)*1000000000LL + t.tv_nsec)/1000000; in engine_draw_frame()
/development/ndk/samples/hello-neon/jni/
Dhelloneon.c39 return 1000.0*res.tv_sec + (double)res.tv_nsec/1e6; in now_ms()
/development/perftests/panorama/feature_stab/src/dbreg/
Ddbreg.h578 return 1000.0*res.tv_sec + (double)res.tv_usec/1e3; in now_ms()
/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgles3jni.cpp196 uint64_t nowNs = now.tv_sec*1000000000ull + now.tv_nsec; in step()
/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp84 return now.tv_sec * 1000000000LL + now.tv_nsec; in systemnanotime()
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c41 return tv.tv_sec*1000. + tv.tv_usec/1000.; in now_ms()