Home
last modified time | relevance | path

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

12

/system/extras/simpleperf/scripts/
Dannotate.py94 def __init__(self, period=0, acc_period=0): argument
95 self.period = period
99 self.period += other.period
109 self.period = Period()
111 def add_period(self, period): argument
112 self.period += period
120 self.period = Period()
126 def add_period(self, period): argument
127 self.period += period
129 def add_line_period(self, line, period): argument
[all …]
Dreport_sample.py68 usec, sample.period, event.name))
Dstackcollapse.py98 stacks[";".join(stack)] += sample.period
/system/extras/simpleperf/
Dcallchain.h34 uint64_t period; member
51 void AddCallChain(const std::vector<EntryT*>& callchain, uint64_t period, in AddCallChain()
53 children_period += period; in AddCallChain()
56 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()
82 std::unique_ptr<NodeT> new_node = AllocateNode(callchain, callchain_pos, period, 0); in AddCallChain()
127 AllocateNode(parent->chain, parent_length, parent->period, parent->children_period); in SplitNode()
129 parent->period = 0; in SplitNode()
130 parent->children_period = child->period + child->children_period; in SplitNode()
[all …]
DSampleDisplayer.h35 uint64_t period = sample->period + sample->accumulated_period; in DisplayAccumulatedOverhead() local
37 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; in DisplayAccumulatedOverhead()
43 return android::base::StringPrintf("%" PRIu64, sample->period + sample->accumulated_period); in DisplayAccumulatedPeriod()
48 uint64_t period = sample->period; in DisplaySelfOverhead() local
50 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; in DisplaySelfOverhead()
66 BUILD_DISPLAY_UINT64_FUNCTION(DisplaySelfPeriod, period);
142 if (node->period + node->children_period != parent_period) { in DisplayCallGraphEntry()
143 double percentage = 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.cpp67 uint64_t period; member
86 SampleEntry(uint64_t time, uint64_t period, uint64_t accumulated_period, uint64_t sample_count, in SampleEntry()
91 period(period), in SampleEntry()
108 uint64_t GetPeriod() const { return period; } in GetPeriod()
127 uint64_t period = 0; member
182 uint64_t period = GetPeriod(r); in CreateSample() local
183 acc_info->period = period; in CreateSample()
186 std::unique_ptr<SampleEntry> sample(new SampleEntry(r.time_data.time, period, 0, 1, r.Cpu(), in CreateSample()
200 std::unique_ptr<SampleEntry> sample(new SampleEntry(r.time_data.time, r.period_data.period, 0, in CreateBranchSample()
223 new SampleEntry(sample->time, 0, acc_info.period, 0, sample->cpu, thread, map, symbol, in CreateCallChainSample()
[all …]
Devent_selection_set.h61 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq()
Drecord_equal_test.h55 EXPECT_EQ(r1.period_data.period, r2.period_data.period); in CheckSampleRecordDataEqual()
Dreport_lib_interface.cpp47 uint64_t period; member
418 prev_sr->period_data.period = in ProcessSampleRecord()
443 prev_sr->period_data.period = in ProcessSwitchRecord()
468 current_sample_.period = r.period_data.period; in SetCurrentSample()
Dsample_tree.h246 uint64_t period = GetPeriodForCallChain(acc_info); in InsertCallChainForSample() local
247 sample->callchain.AddCallChain(callchain, period, [&](const EntryT* s1, const EntryT* s2) { in InsertCallChainForSample()
/system/core/llkd/tests/
Dllkd_test.cpp189 const auto period = llkdSleepPeriod('D'); in llkd_driver_ABA() local
190 if (period <= sleepfor) { in llkd_driver_ABA()
200 auto ratio = period / sleepfor; in llkd_driver_ABA()
253 const auto period = llkdSleepPeriod('Z'); in TEST() local
265 sleep(period.count()); in TEST()
277 const auto period = llkdSleepPeriod('D'); in TEST() local
286 sleep(period.count()); in TEST()
301 const auto period = llkdSleepPeriod('S'); in TEST() local
315 sleep(period.count()); in TEST()
336 const auto period = llkdSleepPeriod('S'); in TEST() local
[all …]
/system/nfc/src/nfa/sys/
Dnfa_sys_ptim.cc46 void nfa_sys_ptim_init(tPTIM_CB* p_cb, uint16_t period, uint8_t timer_id) { in nfa_sys_ptim_init() argument
48 p_cb->period = period; in nfa_sys_ptim_init()
136 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/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/extras/simpleperf/scripts/test/
Dreport_lib_test.py61 self.assertEqual(sample.period, 694614)
101 total_period += sample.period
103 sleep_function_period += sample.period
108 sleep_function_period += sample.period
257 cpu_clock_period += sample.period
261 sched_switch_period += sample.period
Dapp_test.py131 period = float(m.group(2))
132 if acc_period >= need_acc_period and period >= need_period:
/system/core/init/
Dservice_parser.cpp371 int period; in ParseRestartPeriod() local
372 if (!ParseInt(args[1], &period, 5)) { in ParseRestartPeriod()
375 service_->restart_period_ = std::chrono::seconds(period); in ParseRestartPeriod()
417 int period; in ParseTimeoutPeriod() local
418 if (!ParseInt(args[1], &period, 1)) { in ParseTimeoutPeriod()
421 service_->timeout_period_ = std::chrono::seconds(period); in ParseTimeoutPeriod()
/system/extras/boottime_tools/bootio/
DREADME.md16 Where the value of $TIMEOUT corresponds to the desired bootio period in
/system/sepolicy/prebuilts/api/31.0/private/
Dkernel.te11 # The following sections are for the transition period during a Virtual A/B
/system/sepolicy/prebuilts/api/32.0/private/
Dkernel.te11 # The following sections are for the transition period during a Virtual A/B
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/proto/
Dble_filter.proto89 // the period of latency defined above.
129 // Fast Pair cache expires after this time period.
/system/extras/perf2cfg/perf2cfg/
Danalyze.py174 sample.period)
/system/sepolicy/private/
Dkernel.te11 # The following sections are for the transition period during a Virtual A/B
/system/sepolicy/prebuilts/api/33.0/private/
Dkernel.te11 # The following sections are for the transition period during a Virtual A/B

12