Searched refs:end_time (Results 1 - 8 of 8) sorted by relevance
/system/extras/tests/pagingtest/ |
H A D | mmap_test.c | 15 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 D | pageinout_test.c | 20 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 D | thrashing_test.c | 19 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 D | crypto.cpp | 118 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 D | cpu_hotplug_test.cpp | 165 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 D | cmd_stat.cpp | 159 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 D | netlink_manager.cc | 364 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 D | payload_state.cc | 956 Time end_time = update_timestamp_end_.is_null() local 959 return end_time - update_timestamp_start_;
|
Completed in 126 milliseconds