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

/system/extras/tests/pagingtest/
H A Dmmap_test.c15 struct timeval begin_time, end_time, elapsed_time; local
26 gettimeofday(&end_time, NULL);
31 timersub(&end_time, &begin_time, &elapsed_time);
36 gettimeofday(&end_time, NULL);
37 timersub(&end_time, &begin_time, &elapsed_time);
H A Dpageinout_test.c20 struct timeval begin_time, end_time, elapsed_time, total_time_in, total_time_out; local
52 gettimeofday(&end_time, NULL);
54 timersub(&end_time, &begin_time, &elapsed_time);
64 gettimeofday(&end_time, NULL);
70 timersub(&end_time, &begin_time, &elapsed_time);
H A Dthrashing_test.c19 struct timeval begin_time, end_time, elapsed_time, total_time; local
58 gettimeofday(&end_time, NULL);
60 timersub(&end_time, &begin_time, &elapsed_time);
/system/extras/crypto-perf/
H A Dcrypto.cpp118 struct timeval begin_time, end_time, elapsed_time; local
131 gettimeofday(&end_time, NULL);
132 timersub(&end_time, &begin_time, &elapsed_time);
154 gettimeofday(&end_time, NULL);
155 timersub(&end_time, &begin_time, &elapsed_time);
/system/extras/simpleperf/
H A Dcpu_hotplug_test.cpp165 auto end_time = std::chrono::steady_clock::now() + std::chrono::seconds(timeout); local
167 while (std::chrono::steady_clock::now() < end_time) {
211 auto end_time = std::chrono::steady_clock::now() + test_duration; local
213 while (std::chrono::steady_clock::now() < end_time) {
H A Dcmd_stat.cpp159 auto end_time = std::chrono::steady_clock::now(); local
167 std::chrono::duration_cast<std::chrono::duration<double>>(end_time - start_time).count();
/system/connectivity/shill/net/
H A Dnetlink_manager.cc364 struct timeval now, end_time; local
368 timeradd(&now, &maximum_wait_duration, &end_time);
381 timersub(&end_time, &now, &wait_duration);
410 } while (timercmp(&now, &end_time, <));
/system/update_engine/
H A Dpayload_state.cc956 Time end_time = update_timestamp_end_.is_null() local
959 return end_time - update_timestamp_start_;

Completed in 126 milliseconds