Searched refs:HITRACE_FLAG_INCLUDE_ASYNC (Results 1 – 10 of 10) sorted by relevance
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_trace_test.cpp | 44 case HITRACE_FLAG_INCLUDE_ASYNC: { in ProcessEvent() 45 EXPECT_TRUE(traceId->IsFlagEnabled(HITRACE_FLAG_INCLUDE_ASYNC)); in ProcessEvent() 48 case (HITRACE_FLAG_TP_INFO | HITRACE_FLAG_INCLUDE_ASYNC): { in ProcessEvent() 56 case (HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_NO_BE_INFO): { in ProcessEvent() 60 case (HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_ENABLE_LOG): { in ProcessEvent() 64 case (HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_FAULT_TRIGGER): { in ProcessEvent() 195 auto initId = HiTraceChain::Begin("EventHandler", HITRACE_FLAG_INCLUDE_ASYNC); 227 …auto initId = HiTraceChain::Begin("EventHandler", HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_TP_INF… 296 auto initId = HiTraceChain::Begin("EventHandler", HITRACE_FLAG_INCLUDE_ASYNC); 303 int flagParam = HITRACE_FLAG_INCLUDE_ASYNC; [all …]
|
/base/hiviewdfx/hitrace/test/unittest/common/native/ |
D | hitracechaincpp_test.cpp | 83 initId.EnableFlag(HITRACE_FLAG_INCLUDE_ASYNC); 90 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, initId.GetFlags()); 99 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, getId.GetFlags()); 109 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, getId.GetFlags()); 145 constexpr int FLAGS = HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN; 170 EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, bytesToId.GetFlags()); 195 …HiTraceId beginId = HiTraceChain::Begin("test", HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_NO_BE_IN… 197 EXPECT_EQ(1, beginId.IsFlagEnabled(HITRACE_FLAG_INCLUDE_ASYNC)); 225 HiTraceId beginId = HiTraceChain::Begin("begin", HITRACE_FLAG_INCLUDE_ASYNC); 230 EXPECT_EQ(0, reBeginId.IsFlagEnabled(HITRACE_FLAG_INCLUDE_ASYNC)); [all …]
|
D | hitracechainc_test.cpp | 110 constexpr int flags = HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN; 124 …EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, HiTraceChainGetFlags(&getId… 138 …EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, HiTraceChainGetFlags(&getId… 175 constexpr int flags = HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN; 198 …EXPECT_EQ(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN, HiTraceChainGetFlags(&bytes… 226 …HiTraceIdStruct beginId = HiTraceChainBegin("test", HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_NO_B… 228 EXPECT_EQ(1, HiTraceChainIsFlagEnabled(&beginId, HITRACE_FLAG_INCLUDE_ASYNC)); 258 HiTraceIdStruct beginId = HiTraceChainBegin("begin", HITRACE_FLAG_INCLUDE_ASYNC); 265 EXPECT_EQ(0, HiTraceChainIsFlagEnabled(&reBeginId, HITRACE_FLAG_INCLUDE_ASYNC)); 275 EXPECT_EQ(1, HiTraceChainIsFlagEnabled(&endId, HITRACE_FLAG_INCLUDE_ASYNC)); [all …]
|
/base/notification/eventhandler/frameworks/eventhandler/include/ |
D | event_handler_utils.h | 76 if ((!isSyncEvent) && (!traceId->IsFlagEnabled(HITRACE_FLAG_INCLUDE_ASYNC))) { in AllowHiTraceOutPut()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_encoded_test.cpp | 212 dataBuilder->AppendTraceFlag(HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN); 228 … ASSERT_TRUE(traceInfo.traceFlag == (HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CREATE_SPAN));
|
D | hisysevent_wrote_result_check_test.cpp | 412 …auto traceId = HiTraceChain::Begin("TestCase1", HITRACE_FLAG_INCLUDE_ASYNC | HITRACE_FLAG_DONOT_CR…
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
D | napi_hitrace_init.cpp | 49 napi_create_int32(env, HITRACE_FLAG_INCLUDE_ASYNC, &includeAsyncFlag); in InitHiTraceFlagEnum()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
D | hitracechainc.h | 44 HITRACE_FLAG_INCLUDE_ASYNC = 1 << 0, enumerator
|
/base/hiviewdfx/hitrace/ |
D | README_zh.md | 71 …16125"><a name="p187046416125"></a><a name="p187046416125"></a>HITRACE_FLAG_INCLUDE_ASYNC:同时跟踪同步调用…
|
D | README.md | 71 …176"><a name="b3332144316176"></a><a name="b3332144316176"></a>HITRACE_FLAG_INCLUDE_ASYNC</strong>…
|