Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 17 of 17) sorted by relevance

/system/core/base/
Dproperties.cpp115 const AbsTime& start_time) { in UpdateTimeSpec() argument
117 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in UpdateTimeSpec()
132 const AbsTime& start_time) { in WaitForPropertyCreation() argument
140 UpdateTimeSpec(ts, relative_timeout, start_time); in WaitForPropertyCreation()
148 auto start_time = std::chrono::steady_clock::now(); in WaitForProperty() local
149 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); in WaitForProperty()
162 UpdateTimeSpec(ts, relative_timeout, start_time); in WaitForProperty()
170 auto start_time = std::chrono::steady_clock::now(); in WaitForPropertyCreation() local
171 return (WaitForPropertyCreation(key, relative_timeout, start_time) != nullptr); in WaitForPropertyCreation()
/system/core/storaged/
Dstoraged_utils.cpp67 stats->start_time = 0; in parse_disk_stats()
125 inc.start_time = prev->end_time; in get_inc_disk_stats()
135 if (dst->end_time != 0 && dst->end_time != src->start_time) { in add_disk_stats()
138 << ", src start with " << src->start_time; in add_disk_stats()
156 if (dst->start_time == 0) { in add_disk_stats()
157 dst->start_time = src->start_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/core/libcutils/tests/
Dsockets_test.cpp79 time_t start_time; in TestReceiveTimeout() local
84 start_time = time(nullptr); in TestReceiveTimeout()
86 EXPECT_LE(difftime(time(nullptr), start_time), 1.0); in TestReceiveTimeout()
90 start_time = time(nullptr); in TestReceiveTimeout()
92 EXPECT_LE(1.0, difftime(time(nullptr), start_time)); in TestReceiveTimeout()
/system/bt/test/suite/core/
Dthread_performance_test.cc73 std::chrono::steady_clock::time_point start_time = in TEST_F() local
92 start_time); in TEST_F()
107 std::chrono::steady_clock::time_point start_time = in TEST_F() local
120 start_time); in TEST_F()
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp246 auto start_time = std::chrono::steady_clock::now(); in TEST() local
247 auto cur_time = start_time; in TEST()
256 std::chrono::steady_clock::now() - start_time); in TEST()
302 auto start_time = std::chrono::steady_clock::now(); in TEST() local
303 auto cur_time = start_time; in TEST()
312 std::chrono::steady_clock::now() - start_time); in TEST()
386 auto start_time = std::chrono::steady_clock::now(); in TEST() local
387 auto cur_time = start_time; in TEST()
388 auto end_time = start_time + test_duration_for_long_tests; in TEST()
395 std::chrono::steady_clock::now() - start_time); in TEST()
DIOEventLoop_test.cpp134 auto start_time = std::chrono::steady_clock::now(); in TEST() local
139 end_time - start_time) in TEST()
Dcmd_stat.cpp419 std::chrono::time_point<std::chrono::steady_clock> start_time; in Run() local
447 start_time) in Run()
463 start_time = std::chrono::steady_clock::now(); in Run()
/system/connectivity/wificond/tests/integration/
Dbinder_dispatcher.cpp63 steady_clock::time_point start_time = steady_clock::now(); in DispatchFor() local
68 convertDurationToMillis(start_time, steady_clock::now()); in DispatchFor()
/system/tools/aidl/tests/
Daidl_test_sentinel_searcher.cpp84 const time_t start_time = time(nullptr); in main() local
88 if (time(nullptr) - start_time > timeout_seconds) { in main()
/system/core/init/
Duevent_listener.cpp187 auto start_time = steady_clock::now(); in Poll() local
195 auto time_elapsed = duration_cast<milliseconds>(now - start_time); in Poll()
Dinit.cpp1009 boot_clock::time_point start_time = boot_clock::now(); in main() local
1058 uint64_t start_ms = start_time.time_since_epoch().count() / kNanosecondsPerMillisecond; in main()
/system/core/storaged/tests/
Dstoraged_test.cpp273 .start_time = 0, in TEST()
291 .start_time = 0, in TEST()
/system/update_engine/
Dp2p_manager_unittest.cc144 base::Time start_time = base::Time::FromDoubleT(1246996800.); in TEST_F() local
150 base::Time file_time = start_time + TimeDelta::FromMinutes(n); in TEST_F()
/system/core/storaged/include/
Dstoraged.h84 uint64_t start_time; // monotonic time accounting starts member
/system/core/adb/
Dfile_sync_client.cpp102 std::chrono::steady_clock::time_point start_time; member
123 start_time = std::chrono::steady_clock::now(); in Reset()
134 duration = std::chrono::steady_clock::now() - start_time; in TransferRate()
/system/core/fs_mgr/
Dfs_mgr.cpp96 auto start_time = std::chrono::steady_clock::now(); in fs_mgr_wait_for_file() local
106 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in fs_mgr_wait_for_file()