/drivers/peripheral/sensor/test/performance/hdi/ |
H A D | hdf_sensor_hdi_performance_test.cpp | 77 struct timespec tv2 = (struct timespec){0}; in HWTEST_F() local 81 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 82 timeUsed = ((tv2.tv_sec * SENSOR_USEC_TIME + tv2.tv_nsec / SENSOR_MSEC_TIME) - in HWTEST_F() 99 struct timespec tv2 = (struct timespec){0}; in HWTEST_F() local 103 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 104 timeUsed = ((tv2.tv_sec * SENSOR_USEC_TIME + tv2.tv_nsec / SENSOR_MSEC_TIME) - in HWTEST_F() 120 struct timespec tv2 = (struct timespec){0}; in HWTEST_F() local 124 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 141 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 165 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 186 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 207 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 228 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local [all...] |
/drivers/peripheral/sensor/test/performance/common/ |
H A D | hdf_sensor_performance_test.cpp | 98 struct timespec tv2 = (struct timespec){0}; in HWTEST_F() local 102 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 103 timeUsed = ((tv2.tv_sec * SENSOR_USEC_TIME + tv2.tv_nsec / SENSOR_MSEC_TIME) - in HWTEST_F() 121 struct timespec tv2 = (struct timespec){0}; in HWTEST_F() local 125 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 126 timeUsed = ((tv2.tv_sec * SENSOR_USEC_TIME + tv2.tv_nsec / SENSOR_MSEC_TIME) - in HWTEST_F() 142 struct timespec tv2 = (struct timespec){0}; in HWTEST_F() local 146 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 163 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 187 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 208 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 229 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 250 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local [all...] |
/drivers/peripheral/light/test/performance/hdi/ |
H A D | hdf_light_hdi_performance_test.cpp | 76 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 81 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 83 timeUsed = ((tv2.tv_sec * LIGHT_USEC_TIME + tv2.tv_nsec / LIGHT_MSEC_TIME) - in HWTEST_F() 109 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 114 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 116 timeUsed = ((tv2.tv_sec * LIGHT_USEC_TIME + tv2.tv_nsec / LIGHT_MSEC_TIME) - in HWTEST_F() 123 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 124 timeUsed = ((tv2 in HWTEST_F() 151 struct timespec tv2 = (struct timespec) {0}; HWTEST_F() local [all...] |
/drivers/peripheral/wlan/test/performance/common/ |
H A D | hdf_wlan_performance_test.cpp | 110 struct timespec tv2 = (struct timespec){0};
in HWTEST_F() local 119 clock_gettime(CLOCK_REALTIME, &tv2);
in HWTEST_F() 120 timeUsed = ((tv2.tv_sec * USEC_TIME + tv2.tv_nsec / MSEC_TIME) -
in HWTEST_F() 138 struct timespec tv2 = (struct timespec){0};
in HWTEST_F() local 147 clock_gettime(CLOCK_REALTIME, &tv2);
in HWTEST_F() 148 timeUsed = ((tv2.tv_sec * USEC_TIME + tv2.tv_nsec / MSEC_TIME) -
in HWTEST_F() 170 struct timespec tv2 = (struct timespec){0};
in HWTEST_F() local 182 clock_gettime(CLOCK_REALTIME, &tv2);
in HWTEST_F() 205 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 241 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 277 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 317 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 350 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 377 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local 401 struct timespec tv2 = (struct timespec){0}; HWTEST_F() local [all...] |
/drivers/peripheral/vibrator/test/performance/common/ |
H A D | hdf_vibrator_performance_test.cpp | 79 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 84 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 86 timeUsed = ((tv2.tv_sec * VIBRATOR_USEC_TIME + tv2.tv_nsec / VIBRATOR_MSEC_TIME) - in HWTEST_F() 103 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 108 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 110 timeUsed = ((tv2.tv_sec * VIBRATOR_USEC_TIME + tv2.tv_nsec / VIBRATOR_MSEC_TIME) - in HWTEST_F() 127 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 132 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() [all...] |
/drivers/peripheral/vibrator/test/performance/hdi/ |
H A D | hdf_vibrator_hdi_performance_test.cpp | 75 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 80 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 82 timeUsed = ((tv2.tv_sec * VIBRATOR_USEC_TIME + tv2.tv_nsec / VIBRATOR_MSEC_TIME) - in HWTEST_F() 99 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 104 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() 106 timeUsed = ((tv2.tv_sec * VIBRATOR_USEC_TIME + tv2.tv_nsec / VIBRATOR_MSEC_TIME) - in HWTEST_F() 123 struct timespec tv2 = (struct timespec) {0}; in HWTEST_F() local 128 clock_gettime(CLOCK_REALTIME, &tv2); in HWTEST_F() [all...] |