/system/core/adb/ |
D | benchmark_device.py | 22 import time 73 begin = time.time() 75 end = time.time() 89 begin = time.time() 91 end = time.time() 108 begin = time.time() 110 end = time.time() 126 begin = time.time() 128 end = time.time() 139 begin = time.time() [all …]
|
/system/update_engine/update_manager/ |
D | weekly_time.cc | 52 WeeklyTime WeeklyTime::FromTime(const Time& time) { in FromTime() argument 54 time.LocalExplode(&exploded); in FromTime() 60 bool WeeklyTimeInterval::InRange(const WeeklyTime& time) const { in InRange() 61 return time == start_ || in InRange() 62 (time.GetDurationTo(start_) >= time.GetDurationTo(end_) && in InRange() 63 time != end_); in InRange() 70 start_.time().InMinutes(), in ToString() 72 end_.time().InMinutes()); in ToString()
|
D | weekly_time.h | 30 WeeklyTime(const int& day_of_week, const base::TimeDelta& time) in WeeklyTime() argument 31 : day_of_week_(day_of_week), time_(time) {} in WeeklyTime() 34 static WeeklyTime FromTime(const base::Time& time); 37 return time_ == other.time() && day_of_week_ == other.day_of_week(); 56 base::TimeDelta time() const { return time_; } in time() function 74 bool InRange(const WeeklyTime& time) const;
|
/system/update_engine/common/ |
D | fake_clock.h | 35 void SetWallclockTime(const base::Time& time) { wallclock_time_ = time; } in SetWallclockTime() argument 37 void SetMonotonicTime(const base::Time& time) { monotonic_time_ = time; } in SetMonotonicTime() argument 39 void SetBootTime(const base::Time& time) { boot_time_ = time; } in SetBootTime() argument
|
/system/chre/chre_api/include/chre_api/chre/ |
D | re.h | 275 uint64_t time = chreGetTime(); in chreGetEstimatedHostTime() local 282 time += (uint64_t) offset; in chreGetEstimatedHostTime() 290 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime() 293 return time; in chreGetEstimatedHostTime()
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | re.h | 275 uint64_t time = chreGetTime(); in chreGetEstimatedHostTime() local 282 time += (uint64_t) offset; in chreGetEstimatedHostTime() 290 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime() 293 return time; in chreGetEstimatedHostTime()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | re.h | 269 uint64_t time = chreGetTime(); in chreGetEstimatedHostTime() local 276 time += (uint64_t) offset; in chreGetEstimatedHostTime() 284 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime() 287 return time; in chreGetEstimatedHostTime()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_file_read.py | 68 def add_access(self, time, offset, size, process_name, read_sizes): argument 69 self.accesses.append((time, offset, size, process_name)) 81 def add_merged_access(self, time, offsets, lens, process_names): argument 84 self.accesses.append((time, offsets[i], lens[i], process_names[i])) 143 def add_access(self, is_read, time, offset, size, process_name, read_sizes): argument 145 self.read.add_access(time, offset, size, process_name, read_sizes) 147 self.write.add_access(time, offset, size, process_name, read_sizes) 149 def add_merged_access(self, is_read, time, offsets, lens, process_names): argument 151 self.read.add_merged_access(time, offsets, lens, process_names) 153 self.write.add_merged_access(time, offsets, lens, process_names) [all …]
|
/system/extras/simpleperf/ |
D | InplaceSamplerClient.cpp | 149 uint64_t time; in HandleMessage() local 151 MoveFromBinaryFormat(time, p); in HandleMessage() 153 CommRecord r(attr_, pid_, tid, p, Id(), time); in HandleMessage() 158 uint64_t time; in HandleMessage() local 162 MoveFromBinaryFormat(time, p); in HandleMessage() 166 MmapRecord r(attr_, false, pid_, pid_, start, len, pgoff, p, Id(), time); in HandleMessage() 171 uint64_t time; in HandleMessage() local 175 MoveFromBinaryFormat(time, p); in HandleMessage() 182 SampleRecord r(attr_, Id(), ips[0], pid_, tid, time, 0, period, ips, {}, 0); in HandleMessage()
|
/system/netd/tests/benchmarks/ |
D | README.md | 17 <td>Mean wall-clock time taken for each iteration of the function under test to complete. This 18 includes any time spent in other processes. 25 <td>Mean time spent in the current thread during each iteration of the function under test. This 26 does not include any time spent in other processes or blocking on I/O. 34 the test to reach the minimum amount of time run. Most tests here define 'minimum time run' 35 in terms of real time or 'manual time', rather than CPU time, for the reasons above.
|
/system/core/logcat/ |
D | event.logtags | 33 # s: Number of seconds (monotonic time) 56 # contacts aggregation: time and number of contacts. 58 2747 contacts_aggregation (aggregation time|2|3), (count|1|1) 64 3000 boot_progress_start (time|2|3) 66 3020 boot_progress_preload_start (time|2|3) 68 3030 boot_progress_preload_end (time|2|3) 71 20003 dvm_lock_sample (process|3),(main|1|5),(thread|3),(time|1|3),(file|3),(line|1|5),(ownerfile|3… 101 # time: cpu time millis (not wall time), including lock acquisition 104 52000 db_sample (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6) 108 60000 viewroot_draw (Draw time|1|3) [all …]
|
/system/extras/cpustats/ |
D | cpustats.c | 41 long unsigned time; member 249 new_total_cpu.freqs[i].time = 0; in read_stats() 276 &new_cpus[cpu].freqs[i].time); in read_freq_stats() 280 new_cpus[cpu].freqs[i].time = old_cpus[cpu].freqs[i].time; in read_freq_stats() 284 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time; in read_freq_stats() 365 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time; in print_freq_stats() 378 new_cpu->freqs[i].time - old_cpu->freqs[i].time); in print_freq_stats() 396 if (new_cpus[i].freqs[j].time - old_cpus[i].freqs[j].time != in should_print_freq_stats() 397 new_cpus[0].freqs[j].time - old_cpus[0].freqs[j].time) { in should_print_freq_stats()
|
/system/core/liblog/ |
D | logprint.cpp | 1291 struct timespec time; in convertMonotonic() member 1294 struct timespec time, convert; in convertMonotonic() local 1352 e = readSeconds(e, &time); in convertMonotonic() 1359 suspended_diff = time; in convertMonotonic() 1370 cp = readSeconds(cp - 10, &time); in convertMonotonic() 1383 time.tv_sec = mktime(&tm); in convertMonotonic() 1392 list->time = time; in convertMonotonic() 1393 subTimespec(&list->convert, &time, &monotonic); in convertMonotonic() 1398 if (subTimespec(&time, subTimespec(&time, &list->time, &list->convert), in convertMonotonic() 1407 time = suspended_monotonic; in convertMonotonic() [all …]
|
/system/core/bootstat/ |
D | README.md | 4 `boot_complete`) and the relative time at which these events occurred. The 15 --record_time_since_factory_reset Record the time since the device was reset 17 ## Relative time ## 24 To record the relative time of an event during the boot phase, call `bootstat` 29 The relative time at which the command runs is recorded along with the name of 40 for aggregation and analysis of boot time across different devices and
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | async_manager.cc | 322 …Task(std::chrono::steady_clock::time_point time, std::chrono::milliseconds period, const TaskCallb… in Task() argument 323 : time(time), periodic(true), period(period), callback(callback), task_id(kInvalidTaskId) {} in Task() 324 Task(std::chrono::steady_clock::time_point time, const TaskCallback& callback) in Task() argument 325 : time(time), periodic(false), callback(callback), task_id(kInvalidTaskId) {} in Task() 329 return std::make_pair(time, task_id) < std::make_pair(another.time, another.task_id); in operator <() 338 std::chrono::steady_clock::time_point time; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task 412 if (task_p->time < std::chrono::steady_clock::now()) { in ThreadRoutine() 418 task_p->time += task_p->period; in ThreadRoutine() 434 internal_cond_var_.wait_until(guard, (*task_queue_.begin())->time); in ThreadRoutine()
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | tzdatacheck.te | 9 # can modify the /data time zone rules directories. This is to make it very 10 # clear that only these domains should modify the actual time zone rules data. 13 # If other users / binaries could modify time zone rules on device this might 16 # responsible for updating time zone rules.
|
/system/sepolicy/public/ |
D | tzdatacheck.te | 9 # can modify the /data time zone rules directories. This is to make it very 10 # clear that only these domains should modify the actual time zone rules data. 13 # If other users / binaries could modify time zone rules on device this might 16 # responsible for updating time zone rules.
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | tzdatacheck.te | 9 # can modify the /data time zone rules directories. This is to make it very 10 # clear that only these domains should modify the actual time zone rules data. 13 # If other users / binaries could modify time zone rules on device this might 16 # responsible for updating time zone rules.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | tzdatacheck.te | 9 # can modify the /data time zone rules directories. This is to make it very 10 # clear that only these domains should modify the actual time zone rules data. 13 # If other users / binaries could modify time zone rules on device this might 16 # responsible for updating time zone rules.
|
/system/chre/apps/chqts/src/general_test/ |
D | get_time_test.cc | 87 uint64_t time = nanoapp_testing::hostToLittleEndian(chreGetTime()); in handleEvent() local 88 sendMessageToHost(MessageType::kContinue, &time, sizeof(time)); in handleEvent()
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | RecordOptions.java | 21 import java.time.LocalDateTime; 22 import java.time.format.DateTimeFormatter; 159 LocalDateTime time = LocalDateTime.now(); in getDefaultOutputFilename() local 161 return time.format(formatter); in getDefaultOutputFilename()
|
/system/media/audio_utils/include/audio_utils/ |
D | ErrorLog.h | 134 << " " << audio_utils_time_string_from_ns(entry.mFirstTime).time 135 << " " << audio_utils_time_string_from_ns(entry.mLastTime).time << "\n"; 171 void setFirstError(T code, int64_t time) { in setFirstError() 174 mFirstTime = time; in setFirstError() 175 mLastTime = time; in setFirstError()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | radio.te | 7 # Telephony code contains time / time zone detection logic so it reads the associated properties.
|
/system/sepolicy/private/ |
D | radio.te | 7 # Telephony code contains time / time zone detection logic so it reads the associated properties.
|
/system/extras/tests/framebuffer/ |
D | refresh.c | 145 int64_t time = systemTime(); in main() local 159 time = now - time; in main() 160 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time)); in main() 162 time = now; in main()
|