/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/ |
D | lib.rs | 104 pub type HiTraceId = HiTraceIdStruct; typedef 106 impl HiTraceId { impl 111 HiTraceChainIsValidWrapper(self as *const HiTraceId) in is_valid() constant 119 HiTraceChainIsFlagEnabledWrapper(self as *const HiTraceId, flag as i32) in is_flag_enabled() constant 127 HiTraceChainEnableFlagWrapper(self as *mut HiTraceId, flag as i32); in enable_flag() 135 HiTraceChainSetFlagsWrapper(self as *mut HiTraceId, flags); in set_flags() 143 HiTraceChainGetFlagsWrapper(self as *const HiTraceId) in get_flags() constant 151 HiTraceChainSetChainIdWrapper(self as *mut HiTraceId, chain_id); in set_chain_id() 159 HiTraceChainGetChainIdWrapper(self as *const HiTraceId) in get_chain_id() constant 167 HiTraceChainSetSpanIdWrapper(self as *mut HiTraceId, span_id); in set_span_id() [all …]
|
D | macros.rs | 45 $p_id as *const hitracechain::HiTraceId,
|
/base/hiviewdfx/hitrace/frameworks/native/ |
D | hitraceid.cpp | 25 HiTraceId::HiTraceId() in HiTraceId() function in OHOS::HiviewDFX::HiTraceId 35 HiTraceId::HiTraceId(const HiTraceIdStruct& id) : id_(id) in HiTraceId() function in OHOS::HiviewDFX::HiTraceId 38 HiTraceId::HiTraceId(const uint8_t* pIdArray, int len) in HiTraceId() function in OHOS::HiviewDFX::HiTraceId 43 bool HiTraceId::IsValid() const in IsValid() 48 bool HiTraceId::IsFlagEnabled(HiTraceFlag flag) const in IsFlagEnabled() 53 void HiTraceId::EnableFlag(HiTraceFlag flag) in EnableFlag() 59 int HiTraceId::GetFlags() const in GetFlags() 64 void HiTraceId::SetFlags(int flags) in SetFlags() 70 uint64_t HiTraceId::GetChainId() const in GetChainId() 75 void HiTraceId::SetChainId(uint64_t chainId) in SetChainId() [all …]
|
D | hitracechain.cpp | 24 HiTraceId HiTraceChain::Begin(const string& name, int flags) in Begin() 26 return HiTraceId(::HiTraceChainBegin(name.c_str(), flags)); in Begin() 29 void HiTraceChain::End(const HiTraceId& id) in End() 35 HiTraceId HiTraceChain::GetId() in GetId() 37 return HiTraceId(::HiTraceChainGetId()); in GetId() 40 void HiTraceChain::SetId(const HiTraceId& id) in SetId() 52 HiTraceId HiTraceChain::CreateSpan() in CreateSpan() 54 return HiTraceId(::HiTraceChainCreateSpan()); in CreateSpan() 57 void HiTraceChain::Tracepoint(HiTraceTracepointType type, const HiTraceId& id, const char* fmt, ...) in Tracepoint() 68 …ceChain::Tracepoint(HiTraceCommunicationMode mode, HiTraceTracepointType type, const HiTraceId& id, in Tracepoint()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/ |
D | libhitracechain.map | 5 "OHOS::HiviewDFX::HiTraceId::IsValid() const"; 6 "OHOS::HiviewDFX::HiTraceId::GetChainId() const"; 7 "OHOS::HiviewDFX::HiTraceId::GetSpanId() const"; 8 "OHOS::HiviewDFX::HiTraceId::GetParentSpanId() const"; 9 "OHOS::HiviewDFX::HiTraceId::GetFlags() const"; 10 "OHOS::HiviewDFX::HiTraceId::IsFlagEnabled(HiTraceFlag) const"; 11 …ewDFX::HiTraceChain::Tracepoint(HiTraceTracepointType, OHOS::HiviewDFX::HiTraceId const&, char con… 12 "OHOS::HiviewDFX::HiTraceChain::SetId(OHOS::HiviewDFX::HiTraceId const&)"; 15 "OHOS::HiviewDFX::HiTraceId::ToBytes(unsigned char*, int) const"; 16 "OHOS::HiviewDFX::HiTraceId::HiTraceId(unsigned char const*, int)"; [all …]
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
D | hitracechain.h | 35 static HiTraceId Begin(const std::string& name, int flags); 42 static void End(const HiTraceId& id); 46 static HiTraceId GetId(); 52 static void SetId(const HiTraceId& id); 58 static HiTraceId CreateSpan(); 66 static void Tracepoint(HiTraceTracepointType type, const HiTraceId& id, const char* fmt, ...) 76 …tic void Tracepoint(HiTraceCommunicationMode mode, HiTraceTracepointType type, const HiTraceId& id,
|
D | hitraceid.h | 25 class HiTraceId final { 27 HiTraceId(); 28 HiTraceId(const HiTraceIdStruct& id); 29 HiTraceId(const uint8_t* pIdArray, int len); 30 ~HiTraceId() = default;
|
/base/hiviewdfx/hitrace/test/unittest/common/native/ |
D | hitracechaincpp_test.cpp | 75 HiTraceId initId = HiTraceChain::GetId(); 96 HiTraceId getId = HiTraceChain::GetId(); 103 HiTraceId invalidId; 114 HiTraceId clearId = HiTraceChain::GetId(); 140 HiTraceId initId = HiTraceChain::GetId(); 163 HiTraceId bytesToId = HiTraceId(bytes, ID_LEN - 1); 165 bytesToId = HiTraceId(bytes, ID_LEN + 1); 167 bytesToId = HiTraceId(bytes, ID_LEN); 175 HiTraceId invalidId; 177 invalidId = HiTraceId(nullptr, ID_LEN); [all …]
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/include/ |
D | napi_hitrace_util.h | 32 static void CreateHiTraceIdJsObject(const napi_env env, HiTraceId& traceId, 34 static void TransHiTraceIdJsObjectToNative(const napi_env env, HiTraceId& traceId, 36 …static void EnableTraceIdObjectFlag(const napi_env env, HiTraceId& traceId, napi_value& traceIdObj…
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
D | napi_hitrace_js.cpp | 49 bool ParseTraceIdObject(const napi_env& env, const napi_value& origin, HiTraceId& traceId) in ParseTraceIdObject() 72 HiTraceId traceId; in Begin() 109 HiTraceId traceId; in End() 120 HiTraceId traceId = HiTraceChain::GetId(); in GetId() 138 HiTraceId traceId; in SetId() 155 HiTraceId traceId = HiTraceChain::CreateSpan(); in CreateSpan() 185 HiTraceId traceId; in Tracepoint() 216 HiTraceId traceId; in IsValid() 241 HiTraceId traceId; in IsFlagEnabled() 269 HiTraceId traceId; in EnableFlag()
|
D | napi_hitrace_util.cpp | 88 void NapiHitraceUtil::CreateHiTraceIdJsObject(const napi_env env, HiTraceId& traceId, in CreateHiTraceIdJsObject() 108 void NapiHitraceUtil::TransHiTraceIdJsObjectToNative(const napi_env env, HiTraceId& traceId, in TransHiTraceIdJsObjectToNative() 132 void NapiHitraceUtil::EnableTraceIdObjectFlag(const napi_env env, HiTraceId& traceId, in EnableTraceIdObjectFlag()
|
/base/hiviewdfx/hitrace/ |
D | README_zh.md | 65 …270444181220"><a name="p1270444181220"></a><a name="p1270444181220"></a>HiTraceId begin(String nam… 67 …me="p20704144114123"></a><a name="p20704144114123"></a>功能:启动Hitrace跟踪,生成HiTraceId对象并设置到当前线程TLS中。</… 80 <p id="p07045418125"><a name="p07045418125"></a><a name="p07045418125"></a>返回值:启动跟踪超过返回有效HiTraceId对… 84 …04641131213"><a name="p11704641131213"></a><a name="p11704641131213"></a>void end(HiTraceId id)</p> 86 …4141212"></a><a name="p20704144141212"></a>功能:根据begin返回的HiTraceId停止HiTrace跟踪;清除当前线程TLS中HiTraceId内容… 88 <p id="p14704134111216"><a name="p14704134111216"></a><a name="p14704134111216"></a>id:HiTraceId对象<…
|
D | README.md | 65 …270444181220"><a name="p1270444181220"></a><a name="p1270444181220"></a>HiTraceId begin(String nam… 67 …1451154412"><a name="b52151451154412"></a><a name="b52151451154412"></a>HiTraceId</strong> object,… 80 …"b149053347524"><a name="b149053347524"></a><a name="b149053347524"></a>HiTraceId</strong> object … 84 …04641131213"><a name="p11704641131213"></a><a name="p11704641131213"></a>void end(HiTraceId id)</p> 86 …HiTraceId</strong> object returned by the <strong id="b171995411436"><a name="b171995411436"></a><… 88 …"b046517501252"><a name="b046517501252"></a><a name="b046517501252"></a>HiTraceId</strong> object.…
|
/base/notification/eventhandler/interfaces/inner_api/ |
D | inner_event.h | 30 class HiTraceId; variable 34 using HiTraceId = OHOS::HiviewDFX::HiTraceId; variable 473 const std::shared_ptr<HiTraceId> GetOrCreateTraceId(); 480 const std::shared_ptr<HiTraceId> GetTraceId(); 559 std::shared_ptr<HiTraceId> hiTraceId_;
|
/base/notification/eventhandler/frameworks/eventhandler/include/ |
D | event_handler_utils.h | 71 static inline bool AllowHiTraceOutPut(const std::shared_ptr<HiTraceId>& traceId, bool isSyncEvent) in AllowHiTraceOutPut() 82 static inline void HiTracePointerOutPut(const std::shared_ptr<HiTraceId>& spanId, in HiTracePointerOutPut()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | inner_event.cpp | 240 const std::shared_ptr<HiTraceId> InnerEvent::GetOrCreateTraceId() in GetOrCreateTraceId() 251 hiTraceId_ = std::make_shared<HiTraceId>(HiTraceChain::CreateSpan()); in GetOrCreateTraceId() 255 const std::shared_ptr<HiTraceId> InnerEvent::GetTraceId() in GetTraceId()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_write.cpp | 70 HiTraceId hitraceId = HiTraceChain::GetId(); in TraceAppEventPack()
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_trace_test.cpp | 236 HiTraceId traceId = HiTraceChain::GetId(); in __anon228766e70202() 272 HiTraceId traceId = HiTraceChain::GetId(); in __anon228766e70402()
|
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/ |
D | hitrace_ndk_test.cpp | 423 string GetRecord(HiTraceId hiTraceId) in GetRecord() 463 …HiTraceId hiTraceId = HiTraceChain::Begin("StartHiTraceIdTest001", HiTraceFlag::HITRACE_FLAG_DEFAU… 491 …HiTraceId hiTraceId = HiTraceChain::Begin("StartHiTraceIdTest002", HiTraceFlag::HITRACE_FLAG_DEFAU… 513 …HiTraceId hiTraceId = HiTraceChain::Begin("StartHiTraceIdTest002", HiTraceFlag::HITRACE_FLAG_DEFAU…
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
D | hitrace_meter.cpp | 164 HiTraceId hiTraceId = HiTraceChain::GetId(); in AddTraceMarkerLarge() 206 HiTraceId hiTraceId = HiTraceChain::GetId(); in AddHitraceMeterMarker()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | hisysevent.cpp | 239 HiTraceId hitraceId = HiTraceChain::GetId(); in WritebaseInfo()
|
D | inner_writer.cpp | 190 HiTraceId hitraceId = HiTraceChain::GetId(); in WritebaseInfo()
|