Searched refs:tv1 (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/camera_lite/test/unittest/ |
H A D | camera_lite_test.cpp | 600 struct timespec tv1 = {0}; in HWTEST_F() local 606 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST_F() 609 totalTime += tv2.tv_sec * usecTimes + tv2.tv_nsec - (tv1.tv_sec * usecTimes + tv1.tv_nsec); in HWTEST_F() 626 struct timespec tv1 = {0}; in HWTEST_F() local 632 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST_F() 635 totalTime += tv2.tv_sec * usecTimes + tv2.tv_nsec - (tv1.tv_sec * usecTimes + tv1.tv_nsec); in HWTEST_F() 670 struct timespec tv1 = {0}; in HWTEST_F() local 676 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST_F() 713 struct timespec tv1 = {0}; HWTEST_F() local 754 struct timespec tv1 = {0}; HWTEST_F() local 796 struct timespec tv1 = {0}; HWTEST_F() local 878 struct timespec tv1 = {0}; HWTEST_F() local 910 struct timespec tv1 = {0}; HWTEST_F() local 941 struct timespec tv1 = {0}; HWTEST_F() local 972 struct timespec tv1 = {0}; HWTEST_F() local 1069 struct timespec tv1 = {0}; HWTEST_F() local 1087 struct timespec tv1 = {0}; HWTEST_F() local 1105 struct timespec tv1 = {0}; HWTEST_F() local 1123 struct timespec tv1 = {0}; HWTEST_F() local 1273 struct timespec tv1 = {0}; HWTEST_F() local 1294 struct timespec tv1 = {0}; HWTEST_F() local 1315 struct timespec tv1 = {0}; HWTEST_F() local 1336 struct timespec tv1 = {0}; HWTEST_F() local 1358 struct timespec tv1 = {0}; HWTEST_F() local 1382 struct timespec tv1 = {0}; HWTEST_F() local 1406 struct timespec tv1 = {0}; HWTEST_F() local 1430 struct timespec tv1 = {0}; HWTEST_F() local 1533 struct timespec tv1 = {0}; HWTEST_F() local 1553 struct timespec tv1 = {0}; HWTEST_F() local 1574 struct timespec tv1 = {0}; HWTEST_F() local 1594 struct timespec tv1 = {0}; HWTEST_F() local 1689 struct timespec tv1 = {0}; HWTEST_F() local 1743 struct timespec tv1 = {0}; HWTEST_F() local 2040 struct timespec tv1 = {0}; HWTEST_F() local 2070 struct timespec tv1 = {0}; HWTEST_F() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_player_test/src/ |
H A D | audio_opensles_player_unit_test.cpp | 885 struct timespec tv1 = {0}; in HWTEST() local 889 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST() 892 totalTime += tv2.tv_sec * USEC_TIMES + tv2.tv_nsec - (tv1.tv_sec * USEC_TIMES + tv1.tv_nsec); in HWTEST() 899 struct timespec tv1 = {0}; in HWTEST() local 903 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST() 906 totalTime += tv2.tv_sec * USEC_TIMES + tv2.tv_nsec - (tv1.tv_sec * USEC_TIMES + tv1.tv_nsec); in HWTEST() 913 struct timespec tv1 = {0}; in HWTEST() local 919 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST() 929 struct timespec tv1 = {0}; HWTEST() local 945 struct timespec tv1 = {0}; HWTEST() local 959 struct timespec tv1 = {0}; HWTEST() local 995 struct timespec tv1 = {0}; HWTEST() local 1010 struct timespec tv1 = {0}; HWTEST() local 1026 struct timespec tv1 = {0}; HWTEST() local 1041 struct timespec tv1 = {0}; HWTEST() local 1056 struct timespec tv1 = {0}; HWTEST() local 1070 struct timespec tv1 = {0}; HWTEST() local 1085 struct timespec tv1 = {0}; HWTEST() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_recorder_test/src/ |
H A D | audio_opensles_recorder_unit_test.cpp | 325 struct timespec tv1 = {0}; in HWTEST() local 331 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST() 334 totalTime += tv2.tv_sec * usecTimes + tv2.tv_nsec - (tv1.tv_sec * usecTimes + tv1.tv_nsec); in HWTEST() 342 struct timespec tv1 = {0}; in HWTEST() local 350 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST() 353 totalTime += tv2.tv_sec * usecTimes + tv2.tv_nsec - (tv1.tv_sec * usecTimes + tv1.tv_nsec); in HWTEST() 361 struct timespec tv1 = {0}; in HWTEST() local 369 clock_gettime(CLOCK_REALTIME, &tv1); in HWTEST() 380 struct timespec tv1 = {0}; HWTEST() local 434 struct timespec tv1 = {0}; HWTEST() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/ |
H A D | audio_opensles_recorder_test.cpp | 55 struct timespec tv1 = {0}; variable 203 clock_gettime(CLOCK_REALTIME, &tv1); in OperationTime() 205 while (((tv2.tv_sec * usecTimes + tv2.tv_nsec) - (tv1.tv_sec * usecTimes + tv1.tv_nsec)) <= time) { in OperationTime()
|
Completed in 8 milliseconds