Home
last modified time | relevance | path

Searched refs:elapsed_time (Results 1 – 7 of 7) sorted by relevance

/system/extras/crypto-perf/
Dcrypto.cpp118 struct timeval begin_time, end_time, elapsed_time; in main() local
132 timersub(&end_time, &begin_time, &elapsed_time); in main()
134 elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec); in main()
139 (elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec)); in main()
143 ((elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec) * in main()
155 timersub(&end_time, &begin_time, &elapsed_time); in main()
157 elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec); in main()
162 (elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec)); in main()
166 ((elapsed_time.tv_sec * USEC_PER_SEC + elapsed_time.tv_usec) * in main()
/system/extras/tests/pagingtest/
Dmmap_test.c14 struct timeval begin_time, end_time, elapsed_time; in mmap_test() local
30 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test()
31 timeradd(&total_time_mmap, &elapsed_time, &total_time_mmap); in mmap_test()
36 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test()
37 timeradd(&total_time_mmap, &elapsed_time, &total_time_mmap); in mmap_test()
Dpageinout_test.c21 struct timeval begin_time, end_time, elapsed_time, total_time_in, total_time_out; in pageinout_test() local
64 timersub(&end_time, &begin_time, &elapsed_time); in pageinout_test()
65 timeradd(&total_time_in, &elapsed_time, &total_time_in); in pageinout_test()
80 timersub(&end_time, &begin_time, &elapsed_time); in pageinout_test()
81 timeradd(&total_time_out, &elapsed_time, &total_time_out); in pageinout_test()
Dthrashing_test.c20 struct timeval begin_time, end_time, elapsed_time, total_time; in thrashing_test() local
67 timersub(&end_time, &begin_time, &elapsed_time); in thrashing_test()
68 timeradd(&total_time, &elapsed_time, &total_time); in thrashing_test()
/system/vold/
DEncryptInplace.cpp103 double elapsed_time = difftime(time_now.tv_sec, data->time_started); in update_progress() local
106 (int)(elapsed_time * remaining_blocks / data->used_blocks_already_done); in update_progress()
/system/update_engine/
Domaha_request_action.cc1240 TimeDelta elapsed_time = in IsWallClockBasedWaitingSatisfied() local
1254 << utils::FormatSecs(elapsed_time.InSeconds()) in IsWallClockBasedWaitingSatisfied()
1273 if (elapsed_time > max_scatter_period) { in IsWallClockBasedWaitingSatisfied()
1283 TimeDelta remaining_wait_time = params_->waiting_period() - elapsed_time; in IsWallClockBasedWaitingSatisfied()
/system/extras/f2fs_utils/
Df2fs_sparseblock.c123 D_DISP_u64(cp, elapsed_time); in dbg_print_raw_ckpt_struct()