Searched refs:EventCollector (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | tracing.h | 45 class EventCollector { 47 virtual ~EventCollector() {} in ~EventCollector() 58 friend void SetEventCollector(EventCategory, const EventCollector*); 59 friend const EventCollector* GetEventCollector(EventCategory); 61 static std::array<const EventCollector*, GetNumEventCategories()> instances_; 65 void SetEventCollector(EventCategory category, const EventCollector* collector); 69 inline const EventCollector* GetEventCollector(EventCategory category) { in GetEventCollector() 70 if (EventCollector::IsEnabled()) { in GetEventCollector() 71 return EventCollector::instances_[static_cast<unsigned>(category)]; in GetEventCollector() 134 const EventCollector* collector_;
|
D | tracing.cc | 42 std::array<const EventCollector*, GetNumEventCategories()> 43 EventCollector::instances_; 46 const EventCollector* collector) { in SetEventCollector() 47 EventCollector::instances_[static_cast<unsigned>(category)] = collector; in SetEventCollector()
|
D | threadpool.cc | 68 if (tracing::EventCollector::IsEnabled()) { in CreateTask()
|
/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): 628 parser = EventCollector(convert_charrefs=True)
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | tracing_impl.h | 36 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 | 167 if (!tracing::EventCollector::IsEnabled()) { in SchedClosure()
|
D | executor.cc | 357 const tracing::EventCollector* const event_collector_; 530 bool MightTrace(const tracing::EventCollector* event_collector, in MightTrace()
|
/external/tensorflow/tensorflow/core/framework/ |
D | run_handler.cc | 71 if (tracing::EventCollector::IsEnabled()) { in CreateTask()
|