Home
last modified time | relevance | path

Searched refs:ScopedEvent (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/src/trace_processor/
Dtp_metatrace.h138 class ScopedEvent {
140 ScopedEvent() = default;
142 ~ScopedEvent() { in ~ScopedEvent()
151 ScopedEvent(ScopedEvent&& value) { in ScopedEvent() function
158 static ScopedEvent Create(
162 return ScopedEvent();
164 ScopedEvent event;
172 ScopedEvent(const ScopedEvent&) = delete;
173 ScopedEvent& operator=(const ScopedEvent&) = delete;
175 ScopedEvent& operator=(ScopedEvent&& value) = delete;
[all …]
/external/libchrome/mojo/core/ports/
Devent.h24 using ScopedEvent = std::unique_ptr<Event>; variable
78 static ScopedEvent Deserialize(const void* buffer, size_t num_bytes); in COMPONENT_EXPORT()
81 static std::unique_ptr<T> Cast(ScopedEvent* event) { in COMPONENT_EXPORT()
91 virtual ScopedEvent Clone() const; in COMPONENT_EXPORT()
138 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
163 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
192 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
199 ScopedEvent Clone() const override; in COMPONENT_EXPORT()
216 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
223 ScopedEvent Clone() const override; in COMPONENT_EXPORT()
[all …]
Devent.cc87 ScopedEvent Event::Deserialize(const void* buffer, size_t num_bytes) { in Deserialize()
130 ScopedEvent Event::Clone() const { in Clone()
157 ScopedEvent UserMessageEvent::Deserialize(const PortName& port_name, in Deserialize()
229 ScopedEvent PortAcceptedEvent::Deserialize(const PortName& port_name, in Deserialize()
255 ScopedEvent ObserveProxyEvent::Deserialize(const PortName& port_name, in Deserialize()
279 ScopedEvent ObserveProxyEvent::Clone() const { in Clone()
293 ScopedEvent ObserveProxyAckEvent::Deserialize(const PortName& port_name, in Deserialize()
313 ScopedEvent ObserveProxyAckEvent::Clone() const { in Clone()
326 ScopedEvent ObserveClosureEvent::Deserialize(const PortName& port_name, in Deserialize()
346 ScopedEvent ObserveClosureEvent::Clone() const { in Clone()
[all …]
Dnode_delegate.h23 virtual void ForwardEvent(const NodeName& node, ScopedEvent event) = 0;
26 virtual void BroadcastEvent(ScopedEvent event) = 0;
Dport.h134 std::unique_ptr<std::pair<NodeName, ScopedEvent>> send_on_proxy_removal;
Dnode.cc379 int Node::AcceptEvent(ScopedEvent event) { in AcceptEvent()
588 ScopedEvent event_to_forward; in OnObserveProxy()
620 port->send_on_proxy_removal.reset(new std::pair<NodeName, ScopedEvent>( in OnObserveProxy()
912 ScopedEvent closure_event; in MergePortsInternal()
1180 ScopedEvent closure_event; in BeginProxying()
1256 ScopedEvent removal_event; in TryRemoveProxy()
Dports_unittest.cc76 ScopedEvent event) = 0;
77 virtual void BroadcastEvent(TestNode* from_node, ScopedEvent event) = 0;
181 void EnqueueEvent(ScopedEvent event) { in EnqueueEvent()
191 void ForwardEvent(const NodeName& node_name, ScopedEvent event) override { in ForwardEvent()
209 void BroadcastEvent(ScopedEvent event) override { in BroadcastEvent()
262 ScopedEvent event = std::move(incoming_events_.front()); in ProcessEvents()
295 base::queue<ScopedEvent> incoming_events_;
365 ScopedEvent event) override { in ForwardEvent()
383 void BroadcastEvent(TestNode* from_node, ScopedEvent event) override { in BroadcastEvent()
Dnode.h143 int AcceptEvent(ScopedEvent event); in COMPONENT_EXPORT()
/external/swiftshader/third_party/marl/include/marl/
Dtrace.h56 class ScopedEvent {
58 inline ScopedEvent(const char* fmt, ...);
59 inline ~ScopedEvent();
174 Trace::ScopedEvent::ScopedEvent(const char* fmt, ...) : trace(Trace::get()) { in ScopedEvent() function
186 Trace::ScopedEvent::~ScopedEvent() { in ~ScopedEvent()
217 marl::Trace::ScopedEvent MARL_CONCAT(scoped_event, __LINE__)(__VA_ARGS__);
/external/perfetto/include/perfetto/ext/base/
Dmetatrace.h278 class ScopedEvent {
280 ScopedEvent(uint32_t tag, uint16_t event_id) { in ScopedEvent() function
290 ~ScopedEvent() { in ~ScopedEvent()
302 ScopedEvent(const ScopedEvent&) = delete;
303 ScopedEvent& operator=(const ScopedEvent&) = delete;
311 ::perfetto::metatrace::ScopedEvent PERFETTO_METATRACE_UID(__COUNTER__)( \
/external/perfetto/src/base/
Dmetatrace_unittest.cc56 { m::ScopedEvent evt(m::TAG_ANY, /*id=*/1); } in TEST_F()
72 { m::ScopedEvent evt(/*tag=*/1, /*id=*/20); } // No. in TEST_F()
73 { m::ScopedEvent evt(/*tag=*/8, /*id=*/21); } // No. in TEST_F()
74 { m::ScopedEvent evt(/*tag=*/2, /*id=*/22); } // Yes. in TEST_F()
75 { m::ScopedEvent evt(/*tag=*/4 | 8, /*id=*/23); } // Yes. in TEST_F()
76 { m::ScopedEvent evt(m::TAG_ANY, /*id=*/24); } // Yes. in TEST_F()
/external/libchrome/mojo/core/
Dnode_controller.h179 void SendPeerEvent(const ports::NodeName& name, ports::ScopedEvent event);
184 ports::ScopedEvent event) override;
185 void BroadcastEvent(ports::ScopedEvent event) override;
Dnode_controller.cc66 Channel::MessagePtr SerializeEventMessage(ports::ScopedEvent event) { in SerializeEventMessage()
80 ports::ScopedEvent DeserializeEventMessage( in DeserializeEventMessage()
570 ports::ScopedEvent event) { in SendPeerEvent()
689 ports::ScopedEvent event) { in ForwardEvent()
699 void NodeController::BroadcastEvent(ports::ScopedEvent event) { in BroadcastEvent()
1086 ports::ScopedEvent clone = event->Clone(); in OnBroadcast()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc235 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in ReadTick()
317 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in Flush()
Dcpu_reader.cc157 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in ReadCycle()
194 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in ReadAndProcessBatch()
/external/perfetto/include/perfetto/tracing/internal/
Dtrack_event_macros.h126 struct PERFETTO_UID(ScopedEvent) { \
/external/perfetto/src/profiling/perf/
Dunwinding.cc315 metatrace::ScopedEvent m(metatrace::TAG_PRODUCER, in UnwindSample()
/external/v8/src/tracing/
Dtrace-event.h619 struct PERFETTO_UID(ScopedEvent) { \