Searched refs:elapsed_time (Results 1 – 7 of 7) sorted by relevance
/system/extras/crypto-perf/ |
D | crypto.cpp | 118 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/ |
D | mmap_test.c | 15 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()
|
D | pageinout_test.c | 21 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()
|
D | thrashing_test.c | 20 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/ |
D | omaha_request_action.cc | 1251 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/ |
D | f2fs_sparseblock.c | 123 D_DISP_u64(cp, elapsed_time); in dbg_print_raw_ckpt_struct()
|
/system/vold/ |
D | cryptfs.cpp | 2033 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()
|