Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 229) sorted by relevance

12345678910

/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/
Dftrace_cpp_generator.py116 for event in self.target_event_formats:
117 type_name = "{}/{}".format(event.category, event.name)
153 for event in self.grouped_event_formats[category]:
157 f.write("{}({},\n".format(Common.parse_register_macro, event.name))
162 str.lower(event.name)
165 for i in range(len(event.remain_fields)):
166 self.generate_parse_field_lines(event, f, i)
170 def generate_parse_field_lines(event, f, i): argument
171 field_info = event.remain_fields[i]
189 "WARNING: unkown proto type:{} {}".format(event.name, field_name)
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
Dftrace_binder_event_formatter.cpp28 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_binder_alloc_lru_end_format()… in __anonf1b77e270202() argument
29 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonf1b77e270302() argument
30 auto msg = event.binder_alloc_lru_end_format(); in __anonf1b77e270302()
43 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_binder_alloc_lru_start_format… in __anonf1b77e270402() argument
44 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonf1b77e270502() argument
45 auto msg = event.binder_alloc_lru_start_format(); in __anonf1b77e270502()
58 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_binder_alloc_page_end_format(… in __anonf1b77e270602() argument
59 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonf1b77e270702() argument
60 auto msg = event.binder_alloc_page_end_format(); in __anonf1b77e270702()
73 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_binder_alloc_page_start_forma… in __anonf1b77e270802() argument
[all …]
Dftrace_power_event_formatter.cpp28 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_clock_disable_format(); }, in __anona7b43e000202() argument
29 [](const ForStandard::FtraceEvent& event) -> std::string { in __anona7b43e000302() argument
30 auto msg = event.clock_disable_format(); in __anona7b43e000302()
42 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_clock_enable_format(); }, in __anona7b43e000402() argument
43 [](const ForStandard::FtraceEvent& event) -> std::string { in __anona7b43e000502() argument
44 auto msg = event.clock_enable_format(); in __anona7b43e000502()
56 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_clock_set_rate_format(); }, in __anona7b43e000602() argument
57 [](const ForStandard::FtraceEvent& event) -> std::string { in __anona7b43e000702() argument
58 auto msg = event.clock_set_rate_format(); in __anona7b43e000702()
70 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_cpu_frequency_format(); }, in __anona7b43e000802() argument
[all …]
Dftrace_clk_event_formatter.cpp27 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_clk_disable_format(); }, in __anon4d24704d0202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon4d24704d0302() argument
29 auto msg = event.clk_disable_format(); in __anon4d24704d0302()
40 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_clk_disable_complete_format()… in __anon4d24704d0402() argument
41 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon4d24704d0502() argument
42 auto msg = event.clk_disable_complete_format(); in __anon4d24704d0502()
54 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_clk_enable_format(); }, in __anon4d24704d0602() argument
55 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon4d24704d0702() argument
56 auto msg = event.clk_enable_format(); in __anon4d24704d0702()
67 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_clk_enable_complete_format();… in __anon4d24704d0802() argument
[all …]
Dftrace_ext4_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_ext4_alloc_da_blocks_format()… in __anon2a10a1f80202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon2a10a1f80302() argument
29 auto msg = event.ext4_alloc_da_blocks_format(); in __anon2a10a1f80302()
44 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_ext4_allocate_blocks_format()… in __anon2a10a1f80402() argument
45 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon2a10a1f80502() argument
46 auto msg = event.ext4_allocate_blocks_format(); in __anon2a10a1f80502()
67 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_ext4_allocate_inode_format();… in __anon2a10a1f80602() argument
68 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon2a10a1f80702() argument
69 auto msg = event.ext4_allocate_inode_format(); in __anon2a10a1f80702()
84 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_ext4_begin_ordered_truncate_f… in __anon2a10a1f80802() argument
[all …]
Dftrace_regulator_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_regulator_bypass_disable_form… in __anon653d70a80202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon653d70a80302() argument
29 auto msg = event.regulator_bypass_disable_format(); in __anon653d70a80302()
42 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_regulator_bypass_disable_comp… in __anon653d70a80402() argument
43 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon653d70a80502() argument
44 auto msg = event.regulator_bypass_disable_complete_format(); in __anon653d70a80502()
57 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_regulator_bypass_enable_forma… in __anon653d70a80602() argument
58 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon653d70a80702() argument
59 auto msg = event.regulator_bypass_enable_format(); in __anon653d70a80702()
72 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_regulator_bypass_enable_compl… in __anon653d70a80802() argument
[all …]
Dftrace_sched_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_sched_blocked_reason_format()… in __anoncf31a41a0202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anoncf31a41a0302() argument
29 auto msg = event.sched_blocked_reason_format(); in __anoncf31a41a0302()
42 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_sched_kthread_stop_format(); … in __anoncf31a41a0402() argument
43 [](const ForStandard::FtraceEvent& event) -> std::string { in __anoncf31a41a0502() argument
44 auto msg = event.sched_kthread_stop_format(); in __anoncf31a41a0502()
57 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_sched_kthread_stop_ret_format… in __anoncf31a41a0602() argument
58 [](const ForStandard::FtraceEvent& event) -> std::string { in __anoncf31a41a0702() argument
59 auto msg = event.sched_kthread_stop_ret_format(); in __anoncf31a41a0702()
71 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_sched_migrate_task_format(); … in __anoncf31a41a0802() argument
[all …]
Dftrace_block_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_block_bio_backmerge_format();… in __anon7342ea7e0202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon7342ea7e0302() argument
29 auto msg = event.block_bio_backmerge_format(); in __anon7342ea7e0302()
44 … [](const ForStandard::FtraceEvent& event) -> bool { return event.has_block_bio_bounce_format(); }, in __anon7342ea7e0402() argument
45 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon7342ea7e0502() argument
46 auto msg = event.block_bio_bounce_format(); in __anon7342ea7e0502()
59 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_block_bio_complete_format(); … in __anon7342ea7e0602() argument
60 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon7342ea7e0702() argument
61 auto msg = event.block_bio_complete_format(); in __anon7342ea7e0702()
75 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_block_bio_frontmerge_format()… in __anon7342ea7e0802() argument
[all …]
Dftrace_writeback_event_formatter.cpp28 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_balance_dirty_pages_format();… in __anond45a8def0202() argument
29 [](const ForStandard::FtraceEvent& event) -> std::string { in __anond45a8def0302() argument
30 auto msg = event.balance_dirty_pages_format(); in __anond45a8def0302()
49 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_bdi_dirty_ratelimit_format();… in __anond45a8def0402() argument
50 [](const ForStandard::FtraceEvent& event) -> std::string { in __anond45a8def0502() argument
51 auto msg = event.bdi_dirty_ratelimit_format(); in __anond45a8def0502()
68 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_global_dirty_state_format(); … in __anond45a8def0602() argument
69 [](const ForStandard::FtraceEvent& event) -> std::string { in __anond45a8def0702() argument
70 auto msg = event.global_dirty_state_format(); in __anond45a8def0702()
86 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_wbc_writepage_format(); }, in __anond45a8def0802() argument
[all …]
Dftrace_cgroup_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_cgroup_attach_task_format(); … in __anon2747ee230202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon2747ee230302() argument
29 auto msg = event.cgroup_attach_task_format(); in __anon2747ee230302()
43 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_cgroup_destroy_root_format();… in __anon2747ee230402() argument
44 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon2747ee230502() argument
45 auto msg = event.cgroup_destroy_root_format(); in __anon2747ee230502()
58 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_cgroup_freeze_format(); }, in __anon2747ee230602() argument
59 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon2747ee230702() argument
60 auto msg = event.cgroup_freeze_format(); in __anon2747ee230702()
72 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_cgroup_mkdir_format(); }, in __anon2747ee230802() argument
[all …]
Dftrace_sunrpc_event_formatter.cpp27 … [](const ForStandard::FtraceEvent& event) -> bool { return event.has_rpc_call_status_format(); }, in __anon44bc7d4e0202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon44bc7d4e0302() argument
29 auto msg = event.rpc_call_status_format(); in __anon44bc7d4e0302()
41 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_rpc_connect_status_format(); … in __anon44bc7d4e0402() argument
42 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon44bc7d4e0502() argument
43 auto msg = event.rpc_connect_status_format(); in __anon44bc7d4e0502()
56 … [](const ForStandard::FtraceEvent& event) -> bool { return event.has_rpc_socket_close_format(); }, in __anon44bc7d4e0602() argument
57 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon44bc7d4e0702() argument
58 auto msg = event.rpc_socket_close_format(); in __anon44bc7d4e0702()
77 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_rpc_socket_connect_format(); … in __anon44bc7d4e0802() argument
[all …]
Dftrace_timer_event_formatter.cpp28 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_hrtimer_cancel_format(); }, in __anonac848d340202() argument
29 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonac848d340302() argument
30 auto msg = event.hrtimer_cancel_format(); in __anonac848d340302()
41 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_hrtimer_expire_entry_format()… in __anonac848d340402() argument
42 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonac848d340502() argument
43 auto msg = event.hrtimer_expire_entry_format(); in __anonac848d340502()
69 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_hrtimer_expire_exit_format();… in __anonac848d340602() argument
70 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonac848d340702() argument
71 auto msg = event.hrtimer_expire_exit_format(); in __anonac848d340702()
83 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_hrtimer_init_format(); }, in __anonac848d340802() argument
[all …]
Dftrace_dma_fence_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_dma_fence_destroy_format(); }, in __anon46da93250202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon46da93250302() argument
29 auto msg = event.dma_fence_destroy_format(); in __anon46da93250302()
42 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_dma_fence_emit_format(); }, in __anon46da93250402() argument
43 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon46da93250502() argument
44 auto msg = event.dma_fence_emit_format(); in __anon46da93250502()
57 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_dma_fence_enable_signal_forma… in __anon46da93250602() argument
58 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon46da93250702() argument
59 auto msg = event.dma_fence_enable_signal_format(); in __anon46da93250702()
73 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_dma_fence_init_format(); }, in __anon46da93250802() argument
[all …]
Dftrace_irq_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_irq_handler_entry_format(); }, in __anon94bdc79f0202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon94bdc79f0302() argument
29 auto msg = event.irq_handler_entry_format(); in __anon94bdc79f0302()
41 … [](const ForStandard::FtraceEvent& event) -> bool { return event.has_irq_handler_exit_format(); }, in __anon94bdc79f0402() argument
42 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon94bdc79f0502() argument
43 auto msg = event.irq_handler_exit_format(); in __anon94bdc79f0502()
55 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_softirq_entry_format(); }, in __anon94bdc79f0602() argument
56 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon94bdc79f0702() argument
57 auto msg = event.softirq_entry_format(); in __anon94bdc79f0702()
70 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_softirq_exit_format(); }, in __anon94bdc79f0802() argument
[all …]
Dftrace_ftrace_event_formatter.cpp27 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_bputs_format(); }, in __anonf3518d280202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonf3518d280302() argument
29 auto msg = event.bputs_format(); in __anonf3518d280302()
51 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_branch_format(); }, in __anonf3518d280402() argument
52 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonf3518d280502() argument
53 auto msg = event.branch_format(); in __anonf3518d280502()
65 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_context_switch_format(); }, in __anonf3518d280602() argument
66 [](const ForStandard::FtraceEvent& event) -> std::string { in __anonf3518d280702() argument
67 auto msg = event.context_switch_format(); in __anonf3518d280702()
80 … [](const ForStandard::FtraceEvent& event) -> bool { return event.has_funcgraph_entry_format(); }, in __anonf3518d280802() argument
[all …]
Dftrace_net_event_formatter.cpp27 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_napi_gro_frags_entry_format()… in __anon9e3106ba0202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon9e3106ba0302() argument
29 auto msg = event.napi_gro_frags_entry_format(); in __anon9e3106ba0302()
47 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_napi_gro_receive_entry_format… in __anon9e3106ba0402() argument
48 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon9e3106ba0502() argument
49 auto msg = event.napi_gro_receive_entry_format(); in __anon9e3106ba0502()
67 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_net_dev_queue_format(); }, in __anon9e3106ba0602() argument
68 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon9e3106ba0702() argument
69 auto msg = event.net_dev_queue_format(); in __anon9e3106ba0702()
81 …[](const ForStandard::FtraceEvent& event) -> bool { return event.has_net_dev_start_xmit_format(); … in __anon9e3106ba0802() argument
[all …]
Dftrace_i2c_event_formatter.cpp27 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_i2c_read_format(); }, in __anon7af56c510202() argument
28 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon7af56c510302() argument
29 auto msg = event.i2c_read_format(); in __anon7af56c510302()
41 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_i2c_reply_format(); }, in __anon7af56c510402() argument
42 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon7af56c510502() argument
43 auto msg = event.i2c_reply_format(); in __anon7af56c510502()
56 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_i2c_result_format(); }, in __anon7af56c510602() argument
57 [](const ForStandard::FtraceEvent& event) -> std::string { in __anon7af56c510702() argument
58 auto msg = event.i2c_result_format(); in __anon7af56c510702()
70 [](const ForStandard::FtraceEvent& event) -> bool { return event.has_i2c_write_format(); }, in __anon7af56c510802() argument
[all …]
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/htrace_event_parser/
Dhtrace_event_parser.h49 void DealEvent(const ProtoReader::FtraceEvent_Reader& event,
51 bool BinderTractionEvent(const ProtoReader::DataArea& event) const;
52 bool BinderTractionReceivedEvent(const ProtoReader::DataArea& event) const;
53 bool BinderTractionAllocBufEvent(const ProtoReader::DataArea& event) const;
54 bool BinderTractionLockEvent(const ProtoReader::DataArea& event) const;
55 bool BinderTractionLockedEvent(const ProtoReader::DataArea& event) const;
56 bool BinderTractionUnLockEvent(const ProtoReader::DataArea& event) const;
57 bool SchedSwitchEvent(const ProtoReader::DataArea& event);
58 bool SchedBlockReasonEvent(const ProtoReader::DataArea& event);
59 bool ProcessExitEvent(const ProtoReader::DataArea& event) const;
[all …]
Dhtrace_event_parser.cpp159 auto events = msg.event(); in ParseDataItem()
177 ProtoReader::BytesView event(i->ToBytes()); in ParseDataItem() local
179 if (event.size_ > MIN_DATA_AREA && event.data_[0] == tsTag) { in ParseDataItem()
180 …(void)ProtoReader::VarIntDecode(event.data_ + DATA_AREA_START, event.data_ + DATA_AREA_END, &timeS… in ParseDataItem()
196 void HtraceEventParser::DealEvent(const ProtoReader::FtraceEvent_Reader& event, in DealEvent() argument
200 …streamFilters_->processFilter_->UpdateOrCreateThreadWithPidAndName(comonFields.pid(), event.tgid(), in DealEvent()
201event.comm().ToStdString()); in DealEvent()
203 if (event.has_sched_switch_format()) { in DealEvent()
205 event.at<ProtoReader::FtraceEvent_Reader::kSchedSwitchFormatDataAreaNumber>()); in DealEvent()
206 } else if (event.has_wakeup_format()) { in DealEvent()
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/htrace_event_parser/
Dhtrace_event_parser.h49 …void DealEvent(ProtoReader::FtraceEvent_Reader* event, ProtoReader::FtraceEvent_CommonFileds_Reade…
50 bool BinderTractionEvent(const ProtoReader::DataArea& event) const;
51 bool BinderTractionReceivedEvent(const ProtoReader::DataArea& event) const;
52 bool BinderTractionAllocBufEvent(const ProtoReader::DataArea& event) const;
53 bool BinderTractionLockEvent(const ProtoReader::DataArea& event) const;
54 bool BinderTractionLockedEvent(const ProtoReader::DataArea& event) const;
55 bool BinderTractionUnLockEvent(const ProtoReader::DataArea& event) const;
56 bool SchedSwitchEvent(const ProtoReader::DataArea& event);
57 bool SchedBlockReasonEvent(const ProtoReader::DataArea& event);
58 bool ProcessExitEvent(const ProtoReader::DataArea& event) const;
[all …]
Dhtrace_event_parser.cpp158 auto events = msg.event(); in ParseDataItem()
176 ProtoReader::BytesView event(i->ToBytes()); in ParseDataItem() local
178 if (event.size_ > MIN_DATA_AREA && event.data_[0] == tsTag) { in ParseDataItem()
180 … ProtoReader::VarIntDecode(event.data_ + DATA_AREA_START, event.data_ + DATA_AREA_END, &timeStamp); in ParseDataItem()
196 void HtraceEventParser::DealEvent(ProtoReader::FtraceEvent_Reader* event, in DealEvent() argument
200 …reamFilters_->processFilter_->UpdateOrCreateThreadWithPidAndName(comonFields->pid(), event->tgid(), in DealEvent()
201event->comm().ToStdString()); in DealEvent()
203 if (event->has_sched_switch_format()) { in DealEvent()
205 event->at<ProtoReader::FtraceEvent_Reader::kSchedSwitchFormatDataAreaNumber>()); in DealEvent()
206 } else if (event->has_wakeup_format()) { in DealEvent()
[all …]
/developtools/hiperf/test/unittest/common/native/
Dperf_events_test.cpp43 static void SetAllConfig(PerfEvents &event);
119 void PerfEventsTest::SetAllConfig(PerfEvents &event) in SetAllConfig() argument
122 event.SetCpu(selectCpus_); in SetAllConfig()
124 event.SetPid(pids); in SetAllConfig()
125 event.SetSystemTarget(true); in SetAllConfig()
126 event.SetTimeOut(DEFAULT_TRACKING_TIME); in SetAllConfig()
127 event.SetInherit(false); in SetAllConfig()
129 event.SetTrackedCommand(trackedCommand_); in SetAllConfig()
131 event.SetSampleFrequency(frequency); in SetAllConfig()
133 event.SetDwarfSampleStackSize(dwarfSampleStackSize); in SetAllConfig()
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DScaleMode.ets51 public touchScale(xScale: number, yScale: number,event: TouchEvent) {
63 this.onScale(event)
68 public doubleClickScale(event: ClickEvent,xScale: number, yScale: number) {
81 this.onDoubleClick(event)
86 public move(moveX, moveY,event: TouchEvent) {
91 this.onMove(event)
114 * @param event
116 public onClick(event: ClickEvent){
125 this.centerX=event.x;
126 this.centerY=event.y;
[all …]
/developtools/smartperf_host/ide/src/trace/database/
DProcedure.ts105 newThread.onmessage = (event: MessageEvent) => {
107 if ((event.data.type as string) == 'timeline-range-changed') {
108 this.timelineChange && this.timelineChange(event.data.results);
112 if (Reflect.has(newThread.taskMap, event.data.id)) {
113 if (event.data) {
114 let fun = newThread.taskMap[event.data.id];
116 fun(event.data.results, event.data.hover);
118 Reflect.deleteProperty(newThread.taskMap, event.data.id);
142 thread.onmessage = (event: MessageEvent) => {
144 if (event.data.isQuery) {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/database/
DProcedure.ts105 newThread.onmessage = (event: MessageEvent) => {
107 if ((event.data.type as string) == 'timeline-range-changed') {
108 this.timelineChange && this.timelineChange(event.data.results);
112 if (Reflect.has(newThread.taskMap, event.data.id)) {
113 if (event.data) {
114 let fun = newThread.taskMap[event.data.id];
116 fun(event.data.results, event.data.hover);
118 Reflect.deleteProperty(newThread.taskMap, event.data.id);
142 thread.onmessage = (event: MessageEvent) => {
144 if (event.data.isQuery) {
[all …]

12345678910