Home
last modified time | relevance | path

Searched refs:EventCollector (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dtracing.h50 class EventCollector {
52 virtual ~EventCollector() {} in ~EventCollector()
63 friend void SetEventCollector(EventCategory, const EventCollector*);
64 friend const EventCollector* GetEventCollector(EventCategory);
66 static std::array<const EventCollector*, GetNumEventCategories()> instances_;
70 void SetEventCollector(EventCategory category, const EventCollector* collector);
74 inline const EventCollector* GetEventCollector(EventCategory category) { in GetEventCollector()
75 if (EventCollector::IsEnabled()) { in GetEventCollector()
76 return EventCollector::instances_[static_cast<unsigned>(category)]; in GetEventCollector()
140 const EventCollector* collector_;
Dtracing.cc48 std::array<const EventCollector*, GetNumEventCategories()>
49 EventCollector::instances_;
52 const EventCollector* collector) { in SetEventCollector()
53 EventCollector::instances_[static_cast<unsigned>(category)] = collector; in SetEventCollector()
/external/python/cpython2/Lib/test/
Dtest_sgmllib.py8 class EventCollector(sgmllib.SGMLParser): class
62 class CDATAEventCollector(EventCollector):
68 class HTMLEntityCollector(EventCollector):
76 return EventCollector.convert_charref(self, name)
80 EventCollector.convert_codepoint(self, codepoint)
84 return EventCollector.convert_entityref(self, name)
101 collector = EventCollector
127 parser = EventCollector()
Dtest_htmlparser.py9 class EventCollector(HTMLParser.HTMLParser): class
66 class EventCollectorExtra(EventCollector):
69 EventCollector.handle_starttag(self, tag, attrs)
75 def _run_check(self, source, expected_events, collector=EventCollector):
375 class Collector(EventCollector):
/external/python/cpython3/Lib/test/
Dtest_htmlparser.py8 class EventCollector(html.parser.HTMLParser): class
65 class EventCollectorExtra(EventCollector):
68 EventCollector.handle_starttag(self, tag, attrs)
72 class EventCollectorCharrefs(EventCollector):
84 return EventCollector(convert_charrefs=False)
301 class Collector(EventCollector):
635 parser = EventCollector(convert_charrefs=True)
/external/tensorflow/tensorflow/core/platform/default/
Dtracing_impl.h41 inline bool EventCollector::IsEnabled() { return false; } in IsEnabled()
Dtracing.cc33 void EventCollector::SetCurrentThreadName(const char*) {} in SetCurrentThreadName()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_util.cc110 if (!tracing::EventCollector::IsEnabled()) { in SchedClosure()
Dexecutor.cc1254 const tracing::EventCollector* const event_collector_;
1587 const tracing::EventCollector* event_collector, in MightTrace()
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool.cc67 if (tracing::EventCollector::IsEnabled()) { in CreateTask()