Home
last modified time | relevance | path

Searched refs:end_time (Results 1 – 14 of 14) 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.c21 struct timeval begin_time, end_time, elapsed_time, total_time_in, total_time_out; in pageinout_test() local
62 gettimeofday(&end_time, NULL); in pageinout_test()
64 timersub(&end_time, &begin_time, &elapsed_time); in pageinout_test()
74 gettimeofday(&end_time, NULL); in pageinout_test()
80 timersub(&end_time, &begin_time, &elapsed_time); in pageinout_test()
Dthrashing_test.c20 struct timeval begin_time, end_time, elapsed_time, total_time; in thrashing_test() local
65 gettimeofday(&end_time, NULL); in thrashing_test()
67 timersub(&end_time, &begin_time, &elapsed_time); in thrashing_test()
/system/core/storaged/
Dstoraged_utils.cpp68 stats->end_time = (uint64_t)ts.tv_sec * SEC_TO_MSEC + in parse_disk_stats()
125 inc.start_time = prev->end_time; in get_inc_disk_stats()
126 inc.end_time = curr->end_time; in get_inc_disk_stats()
135 if (dst->end_time != 0 && dst->end_time != src->start_time) { in add_disk_stats()
137 << " are added. dst end with " << dst->end_time in add_disk_stats()
155 dst->end_time = src->end_time; in add_disk_stats()
224 << type << stats->start_time << stats->end_time in log_event_disk_stats()
DEventLogTags.logtags37 2732 storaged_disk_stats (type|3),(start_time|2|3),(end_time|2|3),(read_ios|2|1),(read_merges|2|1),…
/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/bt/test/suite/core/
Dthread_performance_test.cc88 std::chrono::steady_clock::time_point end_time = in TEST_F() local
91 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
116 std::chrono::steady_clock::time_point end_time = in TEST_F() local
119 std::chrono::duration_cast<std::chrono::milliseconds>(end_time - in TEST_F()
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp248 auto end_time = std::chrono::steady_clock::now() + test_duration_for_long_tests; in TEST() local
252 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
304 auto end_time = std::chrono::steady_clock::now() + test_duration_for_long_tests; in TEST() local
308 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
388 auto end_time = start_time + test_duration_for_long_tests; in TEST() local
392 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
DIOEventLoop_test.cpp136 auto end_time = std::chrono::steady_clock::now(); in TEST() local
139 end_time - start_time) in TEST()
Dcmd_stat.cpp441 auto end_time = std::chrono::steady_clock::now(); in Run() local
446 std::chrono::duration_cast<std::chrono::duration<double>>(end_time - in Run()
/system/core/storaged/tests/
Dstoraged_test.cpp208 retval.end_time = stats1.end_time + stats2.end_time; in disk_stats_add()
274 .end_time = 100, in TEST()
292 .end_time = 100, in TEST()
/system/core/storaged/include/
Dstoraged.h85 uint64_t end_time; // monotonic time accounting ends member
/system/update_engine/
Dpayload_state.cc993 Time end_time = update_timestamp_end_.is_null() in GetUpdateDuration() local
996 return end_time - update_timestamp_start_; in GetUpdateDuration()
/system/core/adb/
Dtest_device.py496 end_time = time.time() + 3
498 self.assertFalse(time.time() > end_time,