Home
last modified time | relevance | path

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

/system/extras/tests/pagingtest/
Dmmap_test.c14 struct timeval begin_time, end_time, elapsed_time; in mmap_test() local
25 gettimeofday(&end_time, NULL); in mmap_test()
30 timersub(&end_time, &begin_time, &elapsed_time); in mmap_test()
35 gettimeofday(&end_time, NULL); in mmap_test()
36 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_diskstats.cpp55 << type << stats->start_time << stats->end_time in log_event_disk_stats()
79 … stats->end_time = (uint64_t)ts.tv_sec * SEC_TO_MSEC + ts.tv_nsec / (MSEC_TO_USEC * USEC_TO_NSEC); in init_disk_stats_other()
180 inc->start_time = prev->end_time; in get_inc_disk_stats()
181 inc->end_time = curr->end_time; in get_inc_disk_stats()
189 if (dst->end_time != 0 && dst->end_time != src->start_time) { in add_disk_stats()
191 << " are added. dst end with " << dst->end_time << ", src start with " in add_disk_stats()
204 dst->end_time = src->end_time; in add_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/simpleperf/
Dcpu_hotplug_test.cpp245 auto end_time = std::chrono::steady_clock::now() + test_duration_for_long_tests; in TEST() local
249 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
302 auto end_time = std::chrono::steady_clock::now() + test_duration_for_long_tests; in TEST() local
306 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
387 auto end_time = start_time + test_duration_for_long_tests; in TEST() local
391 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
DIOEventLoop_test.cpp143 auto end_time = std::chrono::steady_clock::now(); in TestPeriodicEvents() local
146 std::chrono::duration_cast<std::chrono::duration<double>>(end_time - start_time).count(); in TestPeriodicEvents()
Dcmd_stat.cpp605 auto end_time = std::chrono::steady_clock::now(); in Run() local
610 std::chrono::duration_cast<std::chrono::duration<double>>(end_time - start_time).count(); in Run()
/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py181 end_time = -1
205 if sample_time > end_time:
206 end_time = sample_time
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace.py120 end_time = int(float(words[cmd_pos - 1][:-1])*1000000) #us
121 latency = end_time - event.start_time
/system/core/storaged/tests/
Dstoraged_test.cpp214 retval.end_time = stats1.end_time + stats2.end_time; in disk_stats_add()
318 .end_time = 100, in TEST()
336 .end_time = 100, in TEST()
/system/core/storaged/include/
Dstoraged_diskstats.h51 uint64_t end_time; // monotonic time accounting ends member
/system/core/fs_mgr/tests/
Dadb-remount-test.sh613 end_time=`date +%s`
614 local diff_time=$(( ${end_time} - ${start_time} ))
/system/core/bootstat/
Dbootstat.cpp1247 void LogBootInfoToStatsd(std::chrono::milliseconds end_time, in LogBootInfoToStatsd() argument
1253 system_reason.c_str(), end_time.count(), total_duration.count(), in LogBootInfoToStatsd()