/external/libchrome/base/trace_event/ |
D | category_registry.h | 17 struct TraceCategory; 32 Range(TraceCategory* begin, TraceCategory* end) : begin_(begin), end_(end) { in Range() 35 TraceCategory* begin() const { return begin_; } in begin() 36 TraceCategory* end() const { return end_; } in end() 39 TraceCategory* const begin_; 40 TraceCategory* const end_; 44 static TraceCategory* const kCategoryExhausted; 45 static TraceCategory* const kCategoryMetadata; 46 static TraceCategory* const kCategoryAlreadyShutdown; 54 static const TraceCategory* GetCategoryByStatePtr( [all …]
|
D | trace_category_unittest.cc | 38 static bool GetOrCreateCategoryByName(const char* name, TraceCategory** cat) { in GetOrCreateCategoryByName() 45 name, [](TraceCategory*) {}, cat); in GetOrCreateCategoryByName() argument 55 TraceCategory* cat = nullptr; in TestRaceThreadMain() 68 TraceCategory* cat_meta = nullptr; in TEST_F() 73 TraceCategory* cat_1 = nullptr; in TEST_F() 77 cat_1->set_state_flag(TraceCategory::ENABLED_FOR_RECORDING); in TEST_F() 78 cat_1->set_state_flag(TraceCategory::ENABLED_FOR_FILTERING); in TEST_F() 79 ASSERT_EQ(TraceCategory::ENABLED_FOR_RECORDING | in TEST_F() 80 TraceCategory::ENABLED_FOR_FILTERING, in TEST_F() 87 cat_1->clear_state_flag(TraceCategory::ENABLED_FOR_FILTERING); in TEST_F() [all …]
|
D | category_registry.cc | 26 static_assert(std::is_pod<TraceCategory>::value, "TraceCategory must be POD"); 29 TraceCategory g_categories[kMaxCategories] = { 38 bool IsValidCategoryPtr(const TraceCategory* category) { in IsValidCategoryPtr() 49 TraceCategory* const CategoryRegistry::kCategoryExhausted = &g_categories[0]; 50 TraceCategory* const CategoryRegistry::kCategoryAlreadyShutdown = 52 TraceCategory* const CategoryRegistry::kCategoryMetadata = &g_categories[2]; 79 TraceCategory* CategoryRegistry::GetCategoryByName(const char* category_name) { in GetCategoryByName() 98 TraceCategory** category) { in GetOrCreateCategoryLocked() 132 const TraceCategory* CategoryRegistry::GetCategoryByStatePtr( in GetCategoryByStatePtr() 134 const TraceCategory* category = TraceCategory::FromStatePtr(category_state); in GetCategoryByStatePtr() [all …]
|
D | trace_category.h | 15 struct TraceCategory { struct 32 static const TraceCategory* FromStatePtr(const uint8_t* state_ptr) { in FromStatePtr() argument 34 offsetof(TraceCategory, state_) == 0, in FromStatePtr() 36 return reinterpret_cast<const TraceCategory*>(state_ptr); in FromStatePtr()
|
D | trace_log.cc | 164 const TraceCategory* category = in ForEachCategoryFilter() 448 TraceCategory* category = CategoryRegistry::GetCategoryByName(category_group); in GetCategoryGroupEnabled() 453 auto category_initializer = [](TraceCategory* category) { in GetCategoryGroupEnabled() 470 void TraceLog::UpdateCategoryState(TraceCategory* category) { in UpdateCategoryState() 476 state_flags |= TraceCategory::ENABLED_FOR_RECORDING; in UpdateCategoryState() 484 state_flags |= TraceCategory::ENABLED_FOR_RECORDING; in UpdateCategoryState() 490 state_flags |= TraceCategory::ENABLED_FOR_ETW_EXPORT; in UpdateCategoryState() 498 state_flags |= TraceCategory::ENABLED_FOR_FILTERING; in UpdateCategoryState() 514 for (TraceCategory& category : CategoryRegistry::GetAllCategories()) { in UpdateCategoryRegistry() 1252 if (*category_group_enabled & TraceCategory::ENABLED_FOR_ETW_EXPORT) in AddTraceEventWithThreadIdAndTimestamp() [all …]
|
/external/openscreen/util/ |
D | trace_logging_unittest.cc | 40 EXPECT_CALL(platform, IsTraceLoggingEnabled(TraceCategory::Value::kAny)) in TEST() 44 { TRACE_SCOPED(TraceCategory::Value::kAny, "test"); } in TEST() 50 EXPECT_CALL(platform, IsTraceLoggingEnabled(TraceCategory::Value::kAny)) in TEST() 54 { TRACE_DEFAULT_SCOPED(TraceCategory::Value::kAny); } in TEST() 60 EXPECT_CALL(platform, IsTraceLoggingEnabled(TraceCategory::Value::kAny)) in TEST() 64 { TRACE_ASYNC_START(TraceCategory::Value::kAny, "test"); } in TEST() 70 EXPECT_CALL(platform, IsTraceLoggingEnabled(TraceCategory::Value::kAny)) in TEST() 77 TRACE_SCOPED(TraceCategory::Value::kAny, "test1"); in TEST() 78 TRACE_SCOPED(TraceCategory::Value::kAny, "test2"); in TEST() 79 TRACE_ASYNC_START(TraceCategory::Value::kAny, "test3"); in TEST() [all …]
|
D | trace_logging.h | 32 if (TRACE_IS_ENABLED(openscreen::TraceCategory::Value::kAny)) { \ 38 (TRACE_IS_ENABLED(openscreen::TraceCategory::Value::kAny) \ 42 (TRACE_IS_ENABLED(openscreen::TraceCategory::Value::kAny) \ 46 (TRACE_IS_ENABLED(openscreen::TraceCategory::Value::kAny) \
|
/external/openscreen/osp/impl/quic/ |
D | quic_connection_impl.cc | 33 TRACE_SCOPED(TraceCategory::kQuic, "UdpTransport::Write"); in Write() 49 TRACE_SCOPED(TraceCategory::kQuic, "QuicStreamImpl::Write"); in Write() 57 TRACE_SCOPED(TraceCategory::kQuic, "QuicStreamImpl::CloseWriteEnd"); in CloseWriteEnd() 65 TRACE_SCOPED(TraceCategory::kQuic, "QuicStreamImpl::OnReceived"); in OnReceived() 70 TRACE_SCOPED(TraceCategory::kQuic, "QuicStreamImpl::OnClose"); in OnClose() 80 TRACE_SCOPED(TraceCategory::kQuic, "QuicConnectionImpl::OnRead"); in OnRead() 109 TRACE_SCOPED(TraceCategory::kQuic, "QuicConnectionImpl::QuicConnectionImpl"); in QuicConnectionImpl() 119 TRACE_SCOPED(TraceCategory::kQuic, "QuicConnectionImpl::MakeOutgoingStream"); in MakeOutgoingStream() 125 TRACE_SCOPED(TraceCategory::kQuic, "QuicConnectionImpl::Close"); in Close() 130 TRACE_SCOPED(TraceCategory::kQuic, in OnCryptoHandshakeComplete() [all …]
|
/external/openscreen/discovery/dnssd/impl/ |
D | service_dispatcher.cc | 41 TRACE_SCOPED(TraceCategory::kDiscovery, operation); in ForAllPublishers() 85 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in StartQuery() 93 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in StopQuery() 101 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in ReinitializeQueries() 111 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in Register() 120 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in UpdateRegistration() 129 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in DeregisterAll() 136 TRACE_SCOPED(TraceCategory::kDiscovery, "DNS-SD.DeregisterAll"); in DeregisterAll()
|
D | publisher_impl.cc | 201 TRACE_SCOPED(TraceCategory::kDiscovery, "mdns.RegisterRecord"); in UpdatePublishedRegistration() 208 TRACE_SCOPED(TraceCategory::kDiscovery, "mdns.UnregisterRecord"); in UpdatePublishedRegistration() 215 TRACE_SCOPED(TraceCategory::kDiscovery, "mdns.UpdateRegisteredRecord"); in UpdatePublishedRegistration() 243 TRACE_SCOPED(TraceCategory::kDiscovery, "mdns.UnregisterRecord"); in DeregisterAll() 268 TRACE_DEFAULT_SCOPED(TraceCategory::kDiscovery); in OnDomainFound() 298 TRACE_SCOPED(TraceCategory::kDiscovery, "mdns.RegisterRecord"); in OnDomainFound()
|
/external/openscreen/osp/impl/discovery/mdns/ |
D | mdns_responder_adapter_impl.cc | 209 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::Close"); in Close() 231 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::SetHostLabel"); in SetHostLabel() 248 TRACE_SCOPED(TraceCategory::kMdns, in RegisterInterface() 289 TRACE_SCOPED(TraceCategory::kMdns, in DeregisterInterface() 314 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::OnRead"); in OnRead() 359 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::RunTasks"); in RunTasks() 416 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::StartPtrQuery"); in StartPtrQuery() 463 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::StartSrvQuery"); in StartSrvQuery() 501 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::StartTxtQuery"); in StartTxtQuery() 539 TRACE_SCOPED(TraceCategory::kMdns, "MdnsResponderAdapterImpl::StartAQuery"); in StartAQuery() [all …]
|
/external/openscreen/util/trace_logging/ |
D | scoped_trace_operations.h | 113 TraceLoggerBase(TraceCategory::Value category, 121 TraceLoggerBase(TraceCategory::Value category, 147 TraceCategory::Value category_;
|
D | macro_support.h | 44 inline bool IsTraceLoggingEnabled(TraceCategory::Value category) { in IsTraceLoggingEnabled() 61 TRACE_IS_ENABLED(openscreen::TraceCategory::Value::kAny) \
|
D | scoped_trace_operations.cc | 84 TraceLoggerBase::TraceLoggerBase(TraceCategory::Value category, in TraceLoggerBase() 99 TraceLoggerBase::TraceLoggerBase(TraceCategory::Value category, in TraceLoggerBase()
|
/external/openscreen/cast/standalone_receiver/ |
D | sdl_audio_player.cc | 40 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in InterleaveAudioSamples() 75 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in RenderNextFrame() 171 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in Present()
|
D | sdl_video_player.cc | 41 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in RenderWhileIdle() 71 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in RenderNextFrame() 166 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in Present()
|
D | sdl_player_base.cc | 95 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in OnFramesReady() 120 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in OnFrameDecoded() 145 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in RenderAndSchedulePresentation()
|
D | decoder.cc | 52 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in Decode() 105 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneReceiver); in Initialize()
|
/external/openscreen/cast/standalone_sender/ |
D | looping_file_sender.cc | 88 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in SendFileAgain() 107 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in OnAudioData() 114 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in OnVideoFrame()
|
D | looping_file_cast_agent.cc | 86 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in Connect() 104 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in OnConnected() 269 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in CreateAndStartSession() 318 TRACE_DEFAULT_SCOPED(TraceCategory::kStandaloneSender); in Shutdown()
|
/external/angle/src/tests/perf_tests/ |
D | ANGLEPerfTest.cpp | 49 struct TraceCategory struct 55 constexpr TraceCategory gTraceCategories[2] = { 91 static_assert(offsetof(TraceCategory, enabled) == 0, in AddPerfTraceEvent() 93 const TraceCategory *category = reinterpret_cast<const TraceCategory *>(categoryEnabledFlag); in AddPerfTraceEvent() 111 for (const TraceCategory &category : gTraceCategories) in GetPerfTraceCategoryEnabled()
|
/external/openscreen/osp/impl/presentation/ |
D | presentation_receiver.cc | 109 TRACE_SCOPED(TraceCategory::kPresentation, "Receiver::OnStreamMessage"); in OnStreamMessage() 112 TRACE_SCOPED(TraceCategory::kPresentation, in OnStreamMessage() 138 TRACE_SCOPED(TraceCategory::kPresentation, "kPresentationStartRequest"); in OnStreamMessage() 199 TRACE_SCOPED(TraceCategory::kPresentation, in OnStreamMessage() 267 TRACE_SCOPED(TraceCategory::kPresentation, in OnStreamMessage()
|
/external/openscreen/platform/api/ |
D | trace_logging_platform.h | 26 virtual bool IsTraceLoggingEnabled(TraceCategory::Value category) = 0;
|
/external/openscreen/platform/impl/ |
D | text_trace_logging_platform.h | 17 bool IsTraceLoggingEnabled(TraceCategory::Value category) override;
|
/external/openscreen/platform/base/ |
D | trace_logging_types.h | 55 struct TraceCategory { struct
|