Searched refs:end_time (Results 1 – 8 of 8) sorted by relevance
/system/extras/tests/pagingtest/ |
D | mmap_test.c | 15 struct timeval begin_time, end_time, elapsed_time; in mmap_test() local 26 gettimeofday(&end_time, NULL); in mmap_test() 31 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test() 36 gettimeofday(&end_time, NULL); in mmap_test() 37 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test()
|
D | pageinout_test.c | 20 struct timeval begin_time, end_time, elapsed_time, total_time_in, total_time_out; in pageinout_test() local 52 gettimeofday(&end_time, NULL); in pageinout_test() 54 timersub(&end_time, &begin_time, &elapsed_time); in pageinout_test() 64 gettimeofday(&end_time, NULL); in pageinout_test() 70 timersub(&end_time, &begin_time, &elapsed_time); in pageinout_test()
|
D | thrashing_test.c | 19 struct timeval begin_time, end_time, elapsed_time, total_time; in thrashing_test() local 58 gettimeofday(&end_time, NULL); in thrashing_test() 60 timersub(&end_time, &begin_time, &elapsed_time); in thrashing_test()
|
/system/extras/crypto-perf/ |
D | crypto.cpp | 118 struct timeval begin_time, end_time, elapsed_time; in main() local 131 gettimeofday(&end_time, NULL); in main() 132 timersub(&end_time, &begin_time, &elapsed_time); in main() 154 gettimeofday(&end_time, NULL); in main() 155 timersub(&end_time, &begin_time, &elapsed_time); in main()
|
/system/extras/simpleperf/ |
D | cpu_hotplug_test.cpp | 165 auto end_time = std::chrono::steady_clock::now() + std::chrono::seconds(timeout); in RecordInChildProcess() local 167 while (std::chrono::steady_clock::now() < end_time) { in RecordInChildProcess() 211 auto end_time = std::chrono::steady_clock::now() + test_duration; in TEST() local 213 while (std::chrono::steady_clock::now() < end_time) { in TEST()
|
D | cmd_stat.cpp | 159 auto end_time = std::chrono::steady_clock::now(); in Run() local 167 std::chrono::duration_cast<std::chrono::duration<double>>(end_time - start_time).count(); in Run()
|
/system/connectivity/shill/net/ |
D | netlink_manager.cc | 364 struct timeval now, end_time; in GetFamily() local 368 timeradd(&now, &maximum_wait_duration, &end_time); in GetFamily() 381 timersub(&end_time, &now, &wait_duration); in GetFamily() 410 } while (timercmp(&now, &end_time, <)); in GetFamily()
|
/system/update_engine/ |
D | payload_state.cc | 956 Time end_time = update_timestamp_end_.is_null() in GetUpdateDuration() local 959 return end_time - update_timestamp_start_; in GetUpdateDuration()
|