/system/core/base/ |
H A D | properties.cpp | 115 const AbsTime& start_time) { 117 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); 132 const AbsTime& start_time) { 140 UpdateTimeSpec(ts, relative_timeout, start_time); 148 auto start_time = std::chrono::steady_clock::now(); local 149 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); 162 UpdateTimeSpec(ts, relative_timeout, start_time); 170 auto start_time = std::chrono::steady_clock::now(); local 171 return (WaitForPropertyCreation(key, relative_timeout, start_time) != nullptr); 114 UpdateTimeSpec(timespec& ts, std::chrono::milliseconds relative_timeout, const AbsTime& start_time) argument 130 WaitForPropertyCreation(const std::string& key, const std::chrono::milliseconds& relative_timeout, const AbsTime& start_time) argument
|
/system/connectivity/wificond/tests/integration/ |
H A D | binder_dispatcher.cpp | 63 steady_clock::time_point start_time = steady_clock::now(); local 68 convertDurationToMillis(start_time, steady_clock::now());
|
/system/core/storaged/ |
H A D | storaged_utils.cpp | 67 stats->start_time = 0; 125 inc.start_time = prev->end_time; 135 if (dst->end_time != 0 && dst->end_time != src->start_time) { 138 << ", src start with " << src->start_time; 156 if (dst->start_time == 0) { 157 dst->start_time = src->start_time; 224 << type << stats->start_time << stats->end_time
|
/system/tools/aidl/tests/ |
H A D | aidl_test_sentinel_searcher.cpp | 84 const time_t start_time = time(nullptr); local 88 if (time(nullptr) - start_time > timeout_seconds) {
|
/system/core/libcutils/tests/ |
H A D | sockets_test.cpp | 79 time_t start_time; local 84 start_time = time(nullptr); 86 EXPECT_LE(difftime(time(nullptr), start_time), 1.0); 90 start_time = time(nullptr); 92 EXPECT_LE(1.0, difftime(time(nullptr), start_time));
|
/system/bt/test/suite/core/ |
H A D | thread_performance_test.cc | 73 std::chrono::steady_clock::time_point start_time = local 92 start_time); 107 std::chrono::steady_clock::time_point start_time = local 120 start_time);
|
/system/extras/simpleperf/ |
H A D | cpu_hotplug_test.cpp | 246 auto start_time = std::chrono::steady_clock::now(); local 247 auto cur_time = start_time; 256 std::chrono::steady_clock::now() - start_time); 302 auto start_time = std::chrono::steady_clock::now(); local 303 auto cur_time = start_time; 312 std::chrono::steady_clock::now() - start_time); 386 auto start_time = std::chrono::steady_clock::now(); local 387 auto cur_time = start_time; 388 auto end_time = start_time + test_duration_for_long_tests; 395 std::chrono::steady_clock::now() - start_time); [all...] |
H A D | IOEventLoop_test.cpp | 134 auto start_time = std::chrono::steady_clock::now(); local 139 end_time - start_time)
|
H A D | cmd_stat.cpp | 419 std::chrono::time_point<std::chrono::steady_clock> start_time; local 447 start_time) 463 start_time = std::chrono::steady_clock::now();
|
/system/core/init/ |
H A D | uevent_listener.cpp | 187 auto start_time = steady_clock::now(); local 195 auto time_elapsed = duration_cast<milliseconds>(now - start_time);
|
H A D | init.cpp | 1009 boot_clock::time_point start_time = boot_clock::now(); local 1058 uint64_t start_ms = start_time.time_since_epoch().count() / kNanosecondsPerMillisecond;
|
/system/core/storaged/tests/ |
H A D | storaged_test.cpp | 273 .start_time = 0, 291 .start_time = 0,
|
/system/update_engine/ |
H A D | p2p_manager_unittest.cc | 144 base::Time start_time = base::Time::FromDoubleT(1246996800.); local 150 base::Time file_time = start_time + TimeDelta::FromMinutes(n);
|
/system/core/storaged/include/ |
H A D | storaged.h | 84 uint64_t start_time; // monotonic time accounting starts member in struct:disk_stats
|
/system/core/adb/ |
H A D | file_sync_client.cpp | 102 std::chrono::steady_clock::time_point start_time; member in struct:TransferLedger 123 start_time = std::chrono::steady_clock::now(); 134 duration = std::chrono::steady_clock::now() - start_time;
|
/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 96 auto start_time = std::chrono::steady_clock::now(); local 106 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time);
|