Searched refs:EventCollector (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | tracing.h | 50 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_;
|
D | tracing.cc | 48 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/ |
D | test_sgmllib.py | 8 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()
|
D | test_htmlparser.py | 9 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/ |
D | test_htmlparser.py | 8 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/ |
D | tracing_impl.h | 41 inline bool EventCollector::IsEnabled() { return false; } in IsEnabled()
|
D | tracing.cc | 33 void EventCollector::SetCurrentThreadName(const char*) {} in SetCurrentThreadName()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | process_util.cc | 110 if (!tracing::EventCollector::IsEnabled()) { in SchedClosure()
|
D | executor.cc | 1254 const tracing::EventCollector* const event_collector_; 1587 const tracing::EventCollector* event_collector, in MightTrace()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | threadpool.cc | 67 if (tracing::EventCollector::IsEnabled()) { in CreateTask()
|