/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/include/ |
H A D | event_handler_utils.h | 74 LOCAL_API static inline void HiTracePointerOutPutEventId(const std::shared_ptr<HiTraceId> &spanId, … in HiTracePointerOutPutEventId() argument 77 if (spanId == nullptr || action == nullptr) { in HiTracePointerOutPutEventId() 81 …HiTraceChain::Tracepoint(type, *spanId, "%s event, event id: %u", action, std::get<uint32_t>(inner… in HiTracePointerOutPutEventId() 84 … type, *spanId, "%s event, event id: %s", action, std::get<std::string>(innerEventId).c_str()); in HiTracePointerOutPutEventId() 88 LOCAL_API static inline void HiTracePointerOutPut(const std::shared_ptr<HiTraceId>& spanId, in HiTracePointerOutPut() argument 93 HiTracePointerOutPutEventId(spanId, action, type, eventId); in HiTracePointerOutPut() 95 …HiTraceChain::Tracepoint(type, *spanId, "%s task with name, name: %s", action, event->GetTaskName(… in HiTracePointerOutPut() 97 HiTraceChain::Tracepoint(type, *spanId, "%s UnNamed Task", action); in HiTracePointerOutPut()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
H A D | hitracechainc.h | 89 uint64_t spanId : 26; member 97 uint64_t spanId : 26; 129 pId->spanId = 0; in HiTraceChainInitId() 184 pId->flags = pId->spanId = pId->parentSpanId = 0; in HiTraceChainSetChainId() 194 return pId->spanId; in HiTraceChainGetSpanId() 197 static inline void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanId() argument 200 pId->spanId = spanId; in HiTraceChainSetSpanId()
|
H A D | hitraceid.h | 73 void SetSpanId(uint64_t spanId);
|
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/ |
H A D | hitracechainc.c | 168 id.spanId = 0; in HiTraceChainBegin() 246 hashData[2] = id.spanId; // 2: span id in HiTraceChainCreateSpan() 252 id.parentSpanId = id.spanId; in HiTraceChainCreateSpan() 253 id.spanId = hash; in HiTraceChainCreateSpan() 313 … (unsigned long long)pId->spanId, (unsigned long long)pId->parentSpanId, buff + hitraceMask); in HiTraceChainTracepointInner() 348 int HiTraceChainGetInfo(uint64_t* chainId, uint32_t* flags, uint64_t* spanId, uint64_t* parentSpanI… in HiTraceChainGetInfo() argument 350 if (!chainId || !flags || !spanId || !parentSpanId) { in HiTraceChainGetInfo() 367 *spanId = 0; in HiTraceChainGetInfo() 372 *spanId = HiTraceChainGetSpanId(&id); in HiTraceChainGetInfo()
|
H A D | hitraceid.cpp | 31 id_.spanId = 0; in HiTraceId() 86 void HiTraceId::SetSpanId(uint64_t spanId) in SetSpanId() argument 88 HiTraceChainSetSpanId(&id_, spanId); in SetSpanId()
|
/ohos5.0/base/hiviewdfx/hitrace/test/unittest/common/native/ |
H A D | hitracechainc_test.cpp | 176 constexpr uint64_t spanId = 0x12345; variable 183 HiTraceChainSetSpanId(&setId, spanId); 241 constexpr uint64_t spanId = 0x12345; variable 713 uint64_t spanId = GenerateSpanId(); variable 716 HiTraceChainSetSpanId(&newId, spanId); 781 uint64_t spanId = GenerateSpanId(); variable 784 HiTraceChainSetSpanId(&newId, spanId); 846 uint64_t spanId = GenerateSpanId(); variable 849 HiTraceChainSetSpanId(&newId, spanId); 911 uint64_t spanId = GenerateSpanId(); variable [all …]
|
H A D | hitracechaincpp_test.cpp | 773 uint64_t spanId = GenerateSpanId(); variable 776 newId.SetSpanId(spanId); 839 uint64_t spanId = GenerateSpanId(); variable 842 newId.SetSpanId(spanId); 904 uint64_t spanId = GenerateSpanId(); variable 907 newId.SetSpanId(spanId); 971 uint64_t spanId = GenerateSpanId(); variable 974 newId.SetSpanId(spanId);
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/cj/kits/ffi/include/ |
H A D | hitracechain_ffi.h | 26 uint64_t spanId; member 35 traceId.spanId = id.GetSpanId(); in Parse() 45 traceId.SetSpanId(id.spanId); in Parse()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/kits/include/hitrace/ |
H A D | trace.h | 310 uint64_t spanId : 26; member 323 uint64_t spanId : 26; 556 void OH_HiTrace_SetSpanId(HiTraceId *id, uint64_t spanId);
|
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/encoded/ |
H A D | raw_data_builder.cpp | 42 … AppendTraceInfo(traceInfo.traceId, traceInfo.spanId, traceInfo.pSpanId, traceInfo.traceFlag); in RawDataBuilder() 212 RawDataBuilder& RawDataBuilder::AppendSpanId(const uint32_t spanId) in AppendSpanId() argument 215 traceInfo_.spanId = spanId; in AppendSpanId() 233 RawDataBuilder& RawDataBuilder::AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, in AppendTraceInfo() argument 239 traceInfo_.spanId = spanId; in AppendTraceInfo()
|
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_handler.cpp | 191 auto spanId = event->GetOrCreateTraceId(); in SendSyncEvent() local 220 auto spanId = event->GetOrCreateTraceId(); in SendSyncEvent() local 232 if ((spanId) && (spanId->IsValid())) { in SendSyncEvent() 233 … HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_CR, *spanId, "event is processed"); in SendSyncEvent() 460 auto spanId = event->GetTraceId(); in DistributeEvent() local 462 bool allowTraceOutPut = AllowHiTraceOutPut(spanId, event->HasWaiter()); in DistributeEvent() 464 HiTraceChain::SetId(*spanId); in DistributeEvent() 465 HiTracePointerOutPut(spanId, event, "Receive", HiTraceTracepointType::HITRACE_TP_SR); in DistributeEvent() 497 … HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_SS, *spanId, "Event Distribute over"); in DistributeEvent()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/ |
H A D | _hi_trace_id.md | 28 | uint64_t [spanId](_hitrace.md#spanid) | 26 | HiTraceId的当前跨度号 | 39 | uint64_t [spanId](_hitrace.md#spanid) | 26 | HiTraceId的当前跨度号 |
|
H A D | _hitrace.md | 78 …nId](#oh_hitrace_setspanid) ([HiTraceId](_hi_trace_id.md) \*id, uint64_t spanId) | 设置分支ID到HiTraceI… 97 | uint64_t [HiTraceId::spanId](#spanid): 26 | HiTraceId的当前跨度号 | 795 void OH_HiTrace_SetSpanId (HiTraceId * id, uint64_t spanId ) 811 | spanId | 需要设置的分支ID。 | 919 ### spanId subsection 922 uint64_t HiTraceId::spanId
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_dump_request.h | 73 uint64_t spanId : 26; member 81 uint64_t spanId : 26;
|
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/ |
H A D | hitracechain_c_wrapper.c | 64 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanIdWrapper() argument 66 HiTraceChainSetSpanId(pId, spanId); in HiTraceChainSetSpanIdWrapper()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
H A D | raw_data_builder.h | 71 RawDataBuilder& AppendSpanId(const uint32_t spanId); 74 RawDataBuilder& AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, 192 uint32_t spanId = 0; in UpdateSpanId() local 193 TransHexStrToNum(val, spanId); in UpdateSpanId() 194 return AppendSpanId(spanId); in UpdateSpanId() 465 return this->ParseAndSetTraceInfo(val, traceInfo_.spanId); in GetBaseInfoValueByKey() 537 .spanId = 0,
|
/ohos5.0/base/hiviewdfx/hitrace/frameworks/hitrace_ndk/ |
H A D | hitrace_chain_ndk.c | 117 void OH_HiTrace_SetSpanId(HiTraceId* id, uint64_t spanId) in OH_HiTrace_SetSpanId() argument 119 HiTraceChainSetSpanId(id, spanId); in OH_HiTrace_SetSpanId()
|
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/ |
H A D | _hi_trace_id.md | 28 | uint64_t [spanId](_hitrace.md#spanid) | 26 | Span ID of **HiTraceId**. | 39 | uint64_t [spanId](_hitrace.md#spanid) | 26 | Span ID of **HiTraceId**. |
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-dfx-hitracechain.md | 72 | | void SetSpanId(uint64_t spanId) | void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t sp… 134 | | void SetSpanId(uint64_t spanId) | 功能:设置分支ID到HiTraceId对象中。<br/>输入参数:<br/>- spanId:分支ID。<br/>输出参…
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
H A D | napi_hitrace_util.cpp | 122 uint64_t spanId = NapiHitraceUtil::GetPropertyInt64(env, valueObject, SPAN_ID_ATTR); in TransHiTraceIdJsObjectToNative() local 124 static_cast<unsigned long long>(spanId)); in TransHiTraceIdJsObjectToNative() 125 traceId.SetSpanId(spanId); in TransHiTraceIdJsObjectToNative()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/ |
H A D | hilog_printf.cpp | 251 uint64_t spanId = 0; in HiLogPrintArgs() local 257 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs() 262 … (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()
|
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/ |
H A D | hitracechain_c_wrapper.h | 51 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId);
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
H A D | raw_data_base_def.h | 84 uint32_t spanId; member
|
/ohos5.0/foundation/barrierfree/accessibility/frameworks/common/src/ |
H A D | accessibility_element_info.cpp | 1021 SpanInfo::SpanInfo(const int32_t &spanId, const std::string &spanText, const std::string &accessibi… in SpanInfo() argument 1024 spanId_ = spanId; in SpanInfo() 1031 void SpanInfo::SetSpanId(const int32_t spanId) in SetSpanId() argument 1033 spanId_ = spanId; in SetSpanId()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | accessibility_property.h | 48 using ActionExecSubComponentImpl = std::function<bool(int32_t spanId)>; 285 bool ActActionExecSubComponent(int32_t spanId) in ActActionExecSubComponent() argument 288 return actionExecSubComponentImpl_(spanId); in ActActionExecSubComponent()
|