Home
last modified time | relevance | path

Searched refs:end_time (Results 1 – 8 of 8) sorted by relevance

/system/extras/tests/pagingtest/
Dmmap_test.c15 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()
Dpageinout_test.c20 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()
Dthrashing_test.c19 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/
Dcrypto.cpp118 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/
Dcpu_hotplug_test.cpp165 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()
Dcmd_stat.cpp159 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/
Dnetlink_manager.cc364 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/
Dpayload_state.cc956 Time end_time = update_timestamp_end_.is_null() in GetUpdateDuration() local
959 return end_time - update_timestamp_start_; in GetUpdateDuration()