Home
last modified time | relevance | path

Searched refs:sizeByType (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
Dlog_buffer.cpp41 sizeByType[i] = 0; in HilogBuffer()
95 if (elemSize + sizeByType[msg.type] >= g_maxBufferSizeByType[msg.type]) { in Insert()
99 while (sizeByType[msg.type] > g_maxBufferSizeByType[msg.type] * (1 - DROP_RATIO) && in Insert()
107 sizeByType[(*it).type] -= cLen; in Insert()
112 if (sizeByType[msg.type] >= g_maxBufferSizeByType[msg.type]) { in Insert()
123 sizeByType[msg.type] += elemSize; in Insert()
286 sizeByType[(*it).type] -= cLen; in Delete()
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_buffer.h75 size_t sizeByType[LOG_TYPE_MAX]; variable