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 | 14 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()
|
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/vold/ |
D | EncryptInplace.cpp | 103 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/ |
D | omaha_request_action.cc | 1511 TimeDelta elapsed_time = in IsWallClockBasedWaitingSatisfied() local 1525 << utils::FormatSecs(elapsed_time.InSeconds()) in IsWallClockBasedWaitingSatisfied() 1544 if (elapsed_time > max_scatter_period) { in IsWallClockBasedWaitingSatisfied() 1554 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()
|