类
|
函数
|
函数
|
HiTrace
|
HiTraceId Begin(const std::string& name, int flags)
|
HiTraceIdStruct HiTraceBegin(const char* name, int flags)
|
|
void End(const HiTraceId& id)
|
void HiTraceEnd(const HiTraceIdStruct* pId)
|
|
HiTraceId GetId();
|
HiTraceIdStruct HiTraceGetId()
|
|
void SetId(const HiTraceId& id)
|
void HiTraceSetId(const HiTraceIdStruct* pId)
|
|
void ClearId()
|
void HiTraceClearId()
|
|
HiTraceId CreateSpan()
|
HiTraceIdStruct HiTraceCreateSpan()
|
|
void Tracepoint(HiTraceTracepointType type, const HiTraceId& id, const char* fmt, ...)
|
void HiTraceTracepoint(HiTraceTracepointType type, const HiTraceIdStruct* pId, const char* fmt, ...)
|
|
void Tracepoint(HiTraceCommunicationMode mode, HiTraceTracepointType type, const HiTraceId& id, const char* fmt, ...)
|
void HiTraceTracepointEx(HiTraceCommunicationMode mode, HiTraceTracepointType type, const HiTraceIdStruct* pId, const char* fmt, ...)
|
HiTraceId
|
HiTraceId();
|
void HiTraceInitId(HiTraceIdStruct* pId)
|
|
HiTraceId(const uint8_t* pIdArray, int len)
|
HiTraceIdStruct HiTraceBytesToId(const uint8_t* pIdArray, int len)
|
|
bool IsValid()
|
int HiTraceIsValid(const HiTraceIdStruct* pId)
|
|
bool IsFlagEnabled(HiTraceFlag flag)
|
int HiTraceIsFlagEnabled(const HiTraceIdStruct* pId, HiTraceFlag flag)
|
|
void EnableFlag(HiTraceFlag flag)
|
void HiTraceEnableFlag(HiTraceIdStruct* pId, HiTraceFlag flag)
|
|
int GetFlags()
|
int HiTraceGetFlags(const HiTraceIdStruct* pId)
|
|
void SetFlags(int flags)
|
void HiTraceSetFlags(HiTraceIdStruct* pId, int flags)
|
|
uint64_t GetChainId()
|
uint64_t HiTraceGetChainId(const HiTraceIdStruct* pId)
|
|
void SetChainId(uint64_t chainId)
|
void HiTraceSetChainId(HiTraceIdStruct* pId, uint64_t chainId)
|
|
uint64_t GetSpanId()
|
uint64_t HiTraceGetSpanId(const HiTraceIdStruct* pId)
|
|
void SetSpanId(uint64_t spanId)
|
void HiTraceSetSpanId(HiTraceIdStruct* pId, uint64_t spanId)
|
|
uint64_t GetParentSpanId()
|
uint64_t HiTraceGetParentSpanId(const HiTraceIdStruct* pId)
|
|
void SetParentSpanId(uint64_t parentSpanId)
|
void HiTraceSetParentSpanId(HiTraceIdStruct* pId, uint64_t parentSpanId)
|
|
int ToBytes(uint8_t* pIdArray, int len)
|
int HiTraceIdToBytes(const HiTraceIdStruct* pId, uint8_t* pIdArray, int len)
|