Home
last modified time | relevance | path

Searched refs:period (Results 1 – 25 of 45) sorted by relevance

12

/system/extras/simpleperf/scripts/
Dannotate.py88 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 …]
Dreport_sample.py51 usec, sample.period, event.name))
/system/extras/simpleperf/
Dcallchain.h32 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 …]
DSampleDisplayer.h33 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 …]
DSampleComparator.h67 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()
Dcmd_report.cpp61 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 …]
DInplaceSamplerClient.cpp173 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()
Drecord_equal_test.h52 EXPECT_EQ(r1.period_data.period, r2.period_data.period); in CheckSampleRecordDataEqual()
Devent_selection_set.h64 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq()
Dreport_lib_interface.cpp46 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/
Dllkd_test.cpp196 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/
Dnfa_sys_ptim.cc45 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/
Dnfa_sys_ptim.h35 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/
Dasync_manager.cc278 …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()
Dasync_manager.h67 …syncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay, std::chrono::milliseconds period,
Dtest_command_handler.cc224 size_t period = std::stoi(args[0]); in SetTimerPeriod() local
225 model_.SetTimerPeriod(std::chrono::milliseconds(period)); in SetTimerPeriod()
/system/bt/common/
Drepeating_timer.cc40 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()
Drepeating_timer.h56 base::RepeatingClosure task, base::TimeDelta period);
/system/bt/gd/os/linux_generic/
Drepeating_alarm.cc51 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/
Dtest_environment.h64 [this](std::chrono::milliseconds delay, std::chrono::milliseconds period,
66 return async_manager_.ExecAsyncPeriodically(delay, period, task);
/system/extras/simpleperf/scripts/inferno/
Ddata_types.py39 self.num_events += sample.period
48 self.flamegraph.add_callchain(chain, sample.period)
77 self.num_events += sample.period
/system/bt/test/rootcanal/
Dbluetooth_hci.h82 [this](std::chrono::milliseconds delay, std::chrono::milliseconds period,
84 return async_manager_.ExecAsyncPeriodically(delay, period, task);
/system/bt/gd/os/
Drepeating_alarm.h43 void Schedule(Closure task, std::chrono::milliseconds period);
/system/extras/boottime_tools/bootio/
DREADME.md16 Where the value of $TIMEOUT corresponds to the desired bootio period in
/system/update_engine/
Domaha_request_params.h142 inline void set_waiting_period(base::TimeDelta period) { in set_waiting_period() argument
143 waiting_period_ = period; in set_waiting_period()

12