Searched refs:hilogMsg (Results 1 – 3 of 3) sorted by relevance
43 int FlowCtrlDomain(const HilogMsg& hilogMsg) in FlowCtrlDomain() argument46 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… in FlowCtrlDomain()52 LogTimeStamp tsNow(hilogMsg.mono_sec, hilogMsg.tv_nsec); in FlowCtrlDomain()
36 static int GenerateHilogMsgInside(HilogMsg& hilogMsg, const string& msg, uint16_t logType);394 static int GenerateHilogMsgInside(HilogMsg& hilogMsg, const string& msg, uint16_t logType) in GenerateHilogMsgInside() argument398 hilogMsg.len = static_cast<uint16_t>(sizeof(HilogMsg) + contentLen); in GenerateHilogMsgInside()399 hilogMsg.len = hilogMsg.len > MAX_LOG_LEN ? MAX_LOG_LEN : hilogMsg.len; in GenerateHilogMsgInside()400 contentLen = hilogMsg.len - static_cast<uint16_t>(sizeof(HilogMsg)); in GenerateHilogMsgInside()406 hilogMsg.tv_sec = static_cast<uint32_t>(ts.tv_sec); in GenerateHilogMsgInside()407 hilogMsg.tv_nsec = static_cast<uint32_t>(ts.tv_nsec); in GenerateHilogMsgInside()408 hilogMsg.mono_sec = static_cast<uint32_t>(ts_mono.tv_nsec); in GenerateHilogMsgInside()409 hilogMsg.type = logType; in GenerateHilogMsgInside()410 hilogMsg.level = LOG_INFO; in GenerateHilogMsgInside()[all …]
24 int FlowCtrlDomain(const HilogMsg& hilogMsg);