/system/extras/simpleperf/scripts/ |
D | annotate.py | 88 def __init__(self, period=0, acc_period=0): argument 89 self.period = period 94 self.period += other.period 103 self.period = Period() 106 def add_period(self, period): argument 107 self.period += period 114 self.period = Period() 121 def add_period(self, period): argument 122 self.period += period 125 def add_line_period(self, line, period): argument [all …]
|
D | report_sample.py | 51 usec, sample.period, event.name))
|
/system/extras/simpleperf/ |
D | callchain.h | 32 uint64_t period; member 50 const std::vector<EntryT*>& callchain, uint64_t period, in AddCallChain() 52 children_period += period; in AddCallChain() 55 std::unique_ptr<NodeT> new_node = AllocateNode(callchain, 0, period, 0); in AddCallChain() 71 p->period += period; in AddCallChain() 74 p->children_period += period; in AddCallChain() 84 AllocateNode(callchain, callchain_pos, period, 0); in AddCallChain() 132 parent->chain, parent_length, parent->period, parent->children_period); in SplitNode() 134 parent->period = 0; in SplitNode() 135 parent->children_period = child->period + child->children_period; in SplitNode() [all …]
|
D | SampleDisplayer.h | 33 uint64_t period = sample->period + sample->accumulated_period; in DisplayAccumulatedOverhead() local 35 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; in DisplayAccumulatedOverhead() 41 return android::base::StringPrintf("%" PRIu64, sample->period + sample->accumulated_period); in DisplayAccumulatedPeriod() 46 uint64_t period = sample->period; in DisplaySelfOverhead() local 48 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; in DisplaySelfOverhead() 64 BUILD_DISPLAY_UINT64_FUNCTION(DisplaySelfPeriod, period); 141 if (node->period + node->children_period != parent_period) { in DisplayCallGraphEntry() 143 100.0 * (node->period + node->children_period) / parent_period; in DisplayCallGraphEntry() 161 if (!node->children.empty() && node->period != 0) { in DisplayCallGraphEntry() 163 100.0 * node->period / (node->period + node->children_period)); in DisplayCallGraphEntry() [all …]
|
D | SampleComparator.h | 67 uint64_t period1 = sample1->period + sample1->accumulated_period; in CompareTotalPeriod() 68 uint64_t period2 = sample2->period + sample2->accumulated_period; in CompareTotalPeriod() 74 return Compare(sample2->period, sample1->period); in ComparePeriod()
|
D | cmd_report.cpp | 61 uint64_t period; member 74 SampleEntry(uint64_t time, uint64_t period, uint64_t accumulated_period, in SampleEntry() 78 period(period), in SampleEntry() 92 return period; in GetPeriod() 158 uint64_t period = GetPeriod(r); in CreateSample() local 159 *acc_info = period; in CreateSample() 161 new SampleEntry(r.time_data.time, period, 0, 1, thread, map, symbol, vaddr_in_file))); in CreateSample() 177 new SampleEntry(r.time_data.time, r.period_data.period, 0, 1, thread, in CreateBranchSample() 240 total_period_ += sample->period; in UpdateSummary() 244 sample1->period += sample2->period; in MergeSample() [all …]
|
D | InplaceSamplerClient.cpp | 173 uint32_t period; in HandleMessage() local 177 MoveFromBinaryFormat(period, p); in HandleMessage() 182 SampleRecord r(attr_, Id(), ips[0], pid_, tid, time, 0, period, ips, {}, 0); in HandleMessage()
|
D | record_equal_test.h | 52 EXPECT_EQ(r1.period_data.period, r2.period_data.period); in CheckSampleRecordDataEqual()
|
D | event_selection_set.h | 64 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq()
|
D | report_lib_interface.cpp | 46 uint64_t period; member 296 current_sample_.period = next_time - r.time_data.time; in SetCurrentSample() 298 current_sample_.period = r.period_data.period; in SetCurrentSample()
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 196 const auto period = llkdSleepPeriod('D'); in llkd_driver_ABA() local 197 if (period <= sleepfor) { in llkd_driver_ABA() 207 auto ratio = period / sleepfor; in llkd_driver_ABA() 260 const auto period = llkdSleepPeriod('Z'); in TEST() local 272 sleep(period.count()); in TEST() 284 const auto period = llkdSleepPeriod('D'); in TEST() local 293 sleep(period.count()); in TEST() 308 const auto period = llkdSleepPeriod('S'); in TEST() local 322 sleep(period.count()); in TEST() 343 const auto period = llkdSleepPeriod('S'); in TEST() local [all …]
|
/system/nfc/src/nfa/sys/ |
D | nfa_sys_ptim.cc | 45 void nfa_sys_ptim_init(tPTIM_CB* p_cb, uint16_t period, uint8_t timer_id) { in nfa_sys_ptim_init() argument 47 p_cb->period = period; in nfa_sys_ptim_init() 135 GKI_start_timer(p_cb->timer_id, GKI_MS_TO_TICKS(p_cb->period), true); in nfa_sys_ptim_start_timer()
|
/system/nfc/src/nfa/include/ |
D | nfa_sys_ptim.h | 35 int32_t period; /* Timer period in milliseconds */ member 53 extern void nfa_sys_ptim_init(tPTIM_CB* p_cb, uint16_t period,
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | async_manager.cc | 278 …syncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay, std::chrono::milliseconds period, in ExecAsyncPeriodically() argument 280 …return scheduleTask(std::make_shared<Task>(std::chrono::steady_clock::now() + delay, period, callb… in ExecAsyncPeriodically() 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() 340 std::chrono::milliseconds period; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task 418 task_p->time += task_p->period; in ThreadRoutine() 480 …ncManager::ExecAsyncPeriodically(std::chrono::milliseconds delay, std::chrono::milliseconds period, in ExecAsyncPeriodically() argument 482 return taskManager_p_->ExecAsyncPeriodically(delay, period, callback); in ExecAsyncPeriodically()
|
D | async_manager.h | 67 …syncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay, std::chrono::milliseconds period,
|
D | test_command_handler.cc | 224 size_t period = std::stoi(args[0]); in SetTimerPeriod() local 225 model_.SetTimerPeriod(std::chrono::milliseconds(period)); in SetTimerPeriod()
|
/system/bt/common/ |
D | repeating_timer.cc | 40 base::TimeDelta period) { in SchedulePeriodic() argument 41 if (period < kMinimumPeriod) { in SchedulePeriodic() 47 uint64_t time_next_task_us = time_now_us + period.InMicroseconds(); in SchedulePeriodic() 59 period_ = period; in SchedulePeriodic()
|
D | repeating_timer.h | 56 base::RepeatingClosure task, base::TimeDelta period);
|
/system/bt/gd/os/linux_generic/ |
D | repeating_alarm.cc | 51 void RepeatingAlarm::Schedule(Closure task, std::chrono::milliseconds period) { in Schedule() argument 53 long period_ms = period.count(); in Schedule()
|
/system/bt/vendor_libs/test_vendor_lib/desktop/ |
D | test_environment.h | 64 [this](std::chrono::milliseconds delay, std::chrono::milliseconds period, 66 return async_manager_.ExecAsyncPeriodically(delay, period, task);
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 39 self.num_events += sample.period 48 self.flamegraph.add_callchain(chain, sample.period) 77 self.num_events += sample.period
|
/system/bt/test/rootcanal/ |
D | bluetooth_hci.h | 82 [this](std::chrono::milliseconds delay, std::chrono::milliseconds period, 84 return async_manager_.ExecAsyncPeriodically(delay, period, task);
|
/system/bt/gd/os/ |
D | repeating_alarm.h | 43 void Schedule(Closure task, std::chrono::milliseconds period);
|
/system/extras/boottime_tools/bootio/ |
D | README.md | 16 Where the value of $TIMEOUT corresponds to the desired bootio period in
|
/system/update_engine/ |
D | omaha_request_params.h | 142 inline void set_waiting_period(base::TimeDelta period) { in set_waiting_period() argument 143 waiting_period_ = period; in set_waiting_period()
|