Home
last modified time | relevance | path

Searched refs:hilogMsg (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
H A Dflow_control.cpp43 int FlowCtrlDomain(const HilogMsg& hilogMsg) in FlowCtrlDomain() argument
46 if (hilogMsg.type == LOG_APP) { in FlowCtrlDomain()
50 uint32_t domainId = hilogMsg.domain; in FlowCtrlDomain()
51 auto logLen = hilogMsg.len - sizeof(HilogMsg) - 1 - 1; /* quota length exclude '\0' of tag and log content */ in FlowCtrlDomain()
52 LogTimeStamp tsNow(hilogMsg.mono_sec, hilogMsg.tv_nsec); in FlowCtrlDomain()
H A Dlog_buffer.cpp36 static int GenerateHilogMsgInside(HilogMsg& hilogMsg, const string& msg, uint16_t logType);
414 static int GenerateHilogMsgInside(HilogMsg& hilogMsg, const string& msg, uint16_t logType) in GenerateHilogMsgInside() argument
418 hilogMsg.len = static_cast<uint16_t>(sizeof(HilogMsg) + contentLen); in GenerateHilogMsgInside()
419 hilogMsg.len = hilogMsg.len > MAX_LOG_LEN ? MAX_LOG_LEN : hilogMsg.len; in GenerateHilogMsgInside()
420 contentLen = hilogMsg.len - static_cast<uint16_t>(sizeof(HilogMsg)); in GenerateHilogMsgInside()
426 hilogMsg.tv_sec = static_cast<uint32_t>(ts.tv_sec); in GenerateHilogMsgInside()
427 hilogMsg.tv_nsec = static_cast<uint32_t>(ts.tv_nsec); in GenerateHilogMsgInside()
428 hilogMsg in GenerateHilogMsgInside()
[all...]
/base/hiviewdfx/hilog/services/hilogd/include/
H A Dflow_control.h24 int FlowCtrlDomain(const HilogMsg& hilogMsg);

Completed in 2 milliseconds