/aosp12/art/odrefresh/ |
H A D | odr_compilation_log_test.cc | 127 time_t start_time; in TEST() local 128 time(&start_time); in TEST() 136 start_time)); in TEST() 142 start_time, in TEST() 148 start_time)); in TEST() 164 start_time, in TEST() 181 start_time, in TEST() 213 time_t start_time; in TEST() local 214 time(&start_time); in TEST() 228 start_time)); in TEST() [all …]
|
/aosp12/system/extras/boottime_tools/io_analysis/ |
H A D | check_io_trace.py | 35 def __init__(self, block_num, start_time, size): argument 37 self.start_time = start_time 74 start_time = int(float(match.group(1))*1000000) #us 99 event = RwEvent(block_num, start_time, size) 101 self.reads.append((start_time, event)) 105 self.writes.append((start_time, event)) 121 latency = end_time - event.start_time 124 print "start time,", event.start_time
|
H A D | check_verity.py | 56 def __init__(self, start_time, block_num, size): argument 58 self.start_time = start_time 68 self.io_latency = io_end_time - self.start_time 73 self.total_latency = finish_time - self.start_time
|
H A D | check_io_trace_all.py | 41 def __init__(self, block_num, start_time, size): argument 43 self.start_time = start_time 138 start_time = float(match.group(2))*1000 #ms 146 event = RwEvent(block_num, start_time, size)
|
/aosp12/system/bt/common/test/ |
H A D | thread_performance_test.cc | 122 std::chrono::steady_clock::time_point start_time = in TEST_F() local 136 start_time); in TEST_F() 167 std::chrono::steady_clock::time_point start_time = in TEST_F() local 181 start_time); in TEST_F() 213 std::chrono::steady_clock::time_point start_time = in TEST_F() local 227 start_time); in TEST_F() 256 std::chrono::steady_clock::time_point start_time = in TEST_F() local 268 start_time); in TEST_F() 304 std::chrono::steady_clock::time_point start_time = in TEST_F() local 318 start_time); in TEST_F() [all …]
|
/aosp12/system/libbase/ |
H A D | properties.cpp | 165 const AbsTime& start_time) { in UpdateTimeSpec() argument 167 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in UpdateTimeSpec() 182 const AbsTime& start_time) { in WaitForPropertyCreation() argument 190 UpdateTimeSpec(ts, relative_timeout, start_time); in WaitForPropertyCreation() 198 auto start_time = std::chrono::steady_clock::now(); in WaitForProperty() local 199 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); in WaitForProperty() 212 UpdateTimeSpec(ts, relative_timeout, start_time); in WaitForProperty() 220 auto start_time = std::chrono::steady_clock::now(); in WaitForPropertyCreation() local 221 return (WaitForPropertyCreation(key, relative_timeout, start_time) != nullptr); in WaitForPropertyCreation()
|
/aosp12/system/extras/simpleperf/ |
H A D | cpu_hotplug_test.cpp | 243 auto start_time = std::chrono::steady_clock::now(); in TEST() local 244 auto cur_time = start_time; in TEST() 253 std::chrono::steady_clock::now() - start_time); in TEST() 300 auto start_time = std::chrono::steady_clock::now(); in TEST() local 301 auto cur_time = start_time; in TEST() 310 std::chrono::steady_clock::now() - start_time); in TEST() 385 auto start_time = std::chrono::steady_clock::now(); in TEST() local 386 auto cur_time = start_time; in TEST() 387 auto end_time = start_time + test_duration_for_long_tests; in TEST() 394 std::chrono::steady_clock::now() - start_time); in TEST()
|
/aosp12/system/core/storaged/ |
H A D | storaged_diskstats.cpp | 58 << type << stats->start_time << stats->end_time in log_event_disk_stats() 81 stats->start_time = 0; in init_disk_stats_other() 192 inc->start_time = prev->end_time; in get_inc_disk_stats() 201 if (dst->end_time != 0 && dst->end_time != src->start_time) { in add_disk_stats() 204 << src->start_time; in add_disk_stats() 217 if (dst->start_time == 0) { in add_disk_stats() 218 dst->start_time = src->start_time; in add_disk_stats()
|
/aosp12/system/bt/gd/os/linux_generic/ |
H A D | repeating_alarm_unittest.cc | 48 auto start_time = std::chrono::steady_clock::now(); in VerifyMultipleDelayedTasks() local 55 start_time, in VerifyMultipleDelayedTasks() 67 std::chrono::steady_clock::time_point start_time, in verify_delayed_tasks() argument 74 auto time_delta = time_now - start_time; in verify_delayed_tasks()
|
/aosp12/system/core/fs_mgr/ |
H A D | file_wait.cpp | 42 auto start_time = std::chrono::steady_clock::now(); in PollForFile() local 50 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in PollForFile() 56 auto start_time = std::chrono::steady_clock::now(); in PollForFileDeleted() local 64 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in PollForFileDeleted()
|
/aosp12/system/libprocinfo/ |
H A D | process.cpp | 173 unsigned long long start_time = 0; in GetProcessInfoFromProcPidFd() local 174 int rc = sscanf(end_of_comm + 2, pattern, &state, &ppid, &start_time); in GetProcessInfoFromProcPidFd() 182 process_info->starttime = start_time; in GetProcessInfoFromProcPidFd()
|
/aosp12/art/test/149-suspend-all-stress/ |
H A D | suspend_all.cc | 34 const uint64_t start_time = NanoTime(); in Java_Main_suspendAndResume() local 37 while (NanoTime() - start_time < MsToNs(10 * 1000)) { in Java_Main_suspendAndResume()
|
/aosp12/frameworks/base/tests/AmSlam/src/test/amslam/ |
H A D | PongReceiver.java | 45 long start_time = intent.getLongExtra("start_time", 0); in onReceive() local 49 listener.onPingPongResponse(start_time, bounce_time, now, receiver); in onReceive()
|
/aosp12/hardware/google/camera/common/sensor_listener/tests/ |
H A D | goog_sensor_motion_test.cc | 72 int64_t start_time = elapsedRealtimeNano(); in CheckQuerySensorEventsBetweenTimestamps() local 84 start_time, end_time, ×tamps, &motion_vector_x, &motion_vector_y, in CheckQuerySensorEventsBetweenTimestamps() 92 EXPECT_GT(timestamps.front(), start_time); in CheckQuerySensorEventsBetweenTimestamps() 99 start_time = end_time; in CheckQuerySensorEventsBetweenTimestamps()
|
/aosp12/system/core/fs_mgr/libdm/ |
H A D | utility.cpp | 31 auto start_time = std::chrono::steady_clock::now(); in WaitForCondition() local 40 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in WaitForCondition()
|
H A D | loop_control.cpp | 44 auto start_time = std::chrono::steady_clock::now(); in Attach() local 52 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in Attach()
|
/aosp12/system/bt/common/ |
H A D | repeating_timer_unittest.cc | 59 void VerifyDelayTimeAndSleep(std::chrono::steady_clock::time_point start_time, in VerifyDelayTimeAndSleep() argument 65 end_time - start_time); in VerifyDelayTimeAndSleep() 82 auto start_time = std::chrono::steady_clock::now(); in VerifyMultipleDelayedTasks() local 86 base::Unretained(this), start_time, in VerifyMultipleDelayedTasks()
|
/aosp12/bionic/libc/malloc_debug/tests/ |
H A D | malloc_debug_system_tests.cpp | 103 time_t start_time = time(nullptr); in Exec() local 120 if ((time(nullptr) - start_time) > timeout_seconds) { in Exec() 129 start_time = time(nullptr); in Exec() 136 if ((time(nullptr) - start_time) > timeout_seconds) { in Exec() 142 start_time = time(nullptr); in Exec() 146 if (wait_pid == *pid || (time(nullptr) - start_time) > timeout_seconds) { in Exec()
|
/aosp12/build/soong/cuj/ |
H A D | cuj.go | 102 if start_time, err := strconv.ParseUint(start, 10, 64); err == nil { 104 time.Since(time.Unix(0, int64(start_time))).Nanoseconds()/time.Millisecond.Nanoseconds()) 105 … buildCtx.CompleteTrace(metrics.RunSetupTool, "startup", start_time, uint64(time.Now().UnixNano()))
|
/aosp12/system/extras/simpleperf/scripts/purgatorio/ |
H A D | purgatorio.py | 183 start_time = -1 201 if start_time == -1: 202 start_time = sample.time 204 sample_time = (sample.time - start_time) / 1e6 # convert to ms
|
/aosp12/frameworks/av/drm/libmediadrm/tests/ |
H A D | DrmMetrics_test.cpp | 248 int64_t start_time, end_time; in TEST_F() local 250 start_time = -1; in TEST_F() 252 EXPECT_TRUE(start_times.getLong(sid, &start_time)); in TEST_F() 254 EXPECT_GT(start_time, 0); in TEST_F() 255 EXPECT_GE(end_time, start_time); in TEST_F()
|
/aosp12/system/core/fs_mgr/libfs_avb/ |
H A D | util.cpp | 91 auto start_time = std::chrono::steady_clock::now(); in WaitForFile() local 104 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in WaitForFile()
|
/aosp12/system/logging/logd/ |
H A D | LogReaderThread.cpp | 32 log_time start_time, uint64_t start, in LogReaderThread() argument 41 start_time_(start_time), in LogReaderThread()
|
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
H A D | HintManager.h | 46 start_time(std::chrono::steady_clock::time_point::min()), in HintStatus() 48 std::chrono::steady_clock::time_point start_time; member
|
/aosp12/art/runtime/ |
H A D | thread_list.cc | 616 const uint64_t start_time = NanoTime(); in SuspendAll() local 641 const uint64_t suspend_time = end_time - start_time; in SuspendAll() 722 const uint64_t start_time = NanoTime(); in SuspendAllInternal() local 734 const uint64_t wait_time = NanoTime() - start_time; in SuspendAllInternal() 756 UNUSED(start_time); in SuspendAllInternal() 880 const uint64_t start_time = NanoTime(); in SuspendThreadByPeer() local 960 const uint64_t total_delay = NanoTime() - start_time; in SuspendThreadByPeer() 1004 const uint64_t start_time = NanoTime(); in SuspendThreadByThreadId() local 1073 const uint64_t total_delay = NanoTime() - start_time; in SuspendThreadByThreadId()
|