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.c15 struct timeval begin_time, end_time, elapsed_time; in mmap_test() local
31 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test()
32 timeradd(&total_time_mmap, &elapsed_time, &total_time_mmap); in mmap_test()
37 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test()
38 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/update_engine/
Domaha_request_action.cc1251 TimeDelta elapsed_time = in IsWallClockBasedWaitingSatisfied() local
1259 << utils::FormatSecs(elapsed_time.InSeconds()) in IsWallClockBasedWaitingSatisfied()
1279 if (elapsed_time > max_scatter_period) { in IsWallClockBasedWaitingSatisfied()
1289 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()
/system/vold/
Dcryptfs.cpp2033 double elapsed_time = difftime(time_now.tv_sec, data->time_started); in update_progress() local
2036 int remaining_time = (int)(elapsed_time * remaining_blocks in update_progress()