Home
last modified time | relevance | path

Searched refs:chainId (Results 1 – 12 of 12) sorted by relevance

/base/hiviewdfx/hitrace/frameworks/native/
Dhitracechainc.c44 uint64_t chainId : 60; member
55 uint64_t chainId : 60;
133 HiTraceChainIdStruct chainId = { in HiTraceChainCreateChainId() local
135 .chainId = 0 in HiTraceChainCreateChainId()
137 chainId.deviceId = (uint64_t)(HiTraceChainGetDeviceId()); in HiTraceChainCreateChainId()
138 chainId.cpuId = HiTraceChainGetCpuId(); in HiTraceChainCreateChainId()
139 chainId.second = (uint64_t)(tv.tv_sec); in HiTraceChainCreateChainId()
140 chainId.usecond = (uint64_t)(tv.tv_usec); in HiTraceChainCreateChainId()
141 return chainId.chainId; in HiTraceChainCreateChainId()
160 id.chainId = HiTraceChainCreateChainId(); in HiTraceChainBegin()
[all …]
Dhitraceid.cpp29 id_.chainId = 0; in HiTraceId()
75 void HiTraceId::SetChainId(uint64_t chainId) in SetChainId() argument
77 HiTraceChainSetChainId(&id_, chainId); in SetChainId()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
Dhitracechainc.h86 uint64_t chainId : 60; member
92 uint64_t chainId : 60;
125 pId->chainId = 0; in HiTraceChainInitId()
170 return pId->chainId; in HiTraceChainGetChainId()
173 static inline void HiTraceChainSetChainId(HiTraceIdStruct* pId, uint64_t chainId) in HiTraceChainSetChainId() argument
175 if (!pId || chainId == 0) { in HiTraceChainSetChainId()
184 pId->chainId = chainId; in HiTraceChainSetChainId()
Dhitraceid.h64 void SetChainId(uint64_t chainId);
/base/hiviewdfx/faultloggerd/interfaces/common/
Ddfx_dump_request.h45 uint64_t chainId : 60; member
51 uint64_t chainId : 60;
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/
Dhitracechain_c_wrapper.c54 void HiTraceChainSetChainIdWrapper(HiTraceIdStruct* pId, uint64_t chainId) in HiTraceChainSetChainIdWrapper() argument
56 HiTraceChainSetChainId(pId, chainId); in HiTraceChainSetChainIdWrapper()
/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracechainc_test.cpp37 …static_cast<int>((p)->ver), static_cast<long long>((p)->chainId), static_cast<int>((p)->flags), …
107 constexpr uint64_t chainId = 0xABCDEF; variable
113 HiTraceChainSetChainId(&setId, chainId);
123 EXPECT_EQ(chainId, HiTraceChainGetChainId(&getId));
137 EXPECT_EQ(chainId, HiTraceChainGetChainId(&getId));
172 constexpr uint64_t chainId = 0xABCDEF; variable
176 HiTraceIdStruct id = {HITRACE_ID_VALID, HITRACE_VER_1, chainId, flags, spanId, parentSpanId};
197 EXPECT_EQ(chainId, HiTraceChainGetChainId(&bytesToId));
/base/hiviewdfx/hilog/frameworks/libhilog/
Dhilog_printf.cpp211 uint64_t chainId = 0; in HiLogPrintArgs() local
219 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs()
224 … (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()
227 (unsigned long long)chainId); in HiLogPrintArgs()
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/
Dnapi_hitrace_util.cpp111 uint64_t chainId = NapiHitraceUtil::GetPropertyBigInt64(env, valueObject, CHAIN_ID_ATTR); in TransHiTraceIdJsObjectToNative() local
113 static_cast<unsigned long long>(chainId)); in TransHiTraceIdJsObjectToNative()
114 if (chainId == INVALID_CHAIN_ID) { in TransHiTraceIdJsObjectToNative()
117 traceId.SetChainId(chainId); in TransHiTraceIdJsObjectToNative()
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/
Dhitracechain_c_wrapper.h45 void HiTraceChainSetChainIdWrapper(HiTraceIdStruct* pId, uint64_t chainId);
/base/hiviewdfx/faultloggerd/tools/process_dump/
Dprinter.cpp54 if (traceId.chainId != 0) { in PrintDumpHeader()
56 static_cast<unsigned long long>(traceId.chainId)); in PrintDumpHeader()
/base/hiviewdfx/hilog_lite/frameworks/featured/
Dhiview_log.c1519 uint64_t chainId = 0; in HiLogPrintArgs() local
1527 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs()
1532 … (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()
1535 (unsigned long long)chainId); in HiLogPrintArgs()