Searched refs:LogStatisticsElement (Results 1 – 5 of 5) sorted by relevance
50 struct LogStatisticsElement { struct142 iterator Add(const TKey& key, const LogStatisticsElement& element) { in Add()162 void Subtract(const TKey& key, const LogStatisticsElement& element) { in Subtract()169 void Drop(const TKey& key, const LogStatisticsElement& element) { in Drop()176 void Erase(const TKey& key, const LogStatisticsElement& element) { in Erase()192 explicit EntryBase(const LogStatisticsElement& element) : size_(element.total_len) {} in EntryBase()196 void Add(const LogStatisticsElement& element) { size_ += element.total_len; } in Add()197 bool Subtract(const LogStatisticsElement& element) { in Subtract()201 void Drop(const LogStatisticsElement& element) { size_ -= element.msg_len; } in Drop()202 void Erase(const LogStatisticsElement& element) { size_ -= element.total_len; } in Erase()[all …]
51 LogStatisticsElement ToLogStatisticsElement(log_id_t log_id) const { in ToLogStatisticsElement()52 return LogStatisticsElement{ in ToLogStatisticsElement()
48 LogStatisticsElement ToLogStatisticsElement() const;
101 LogStatisticsElement LogBufferElement::ToLogStatisticsElement() const { in ToLogStatisticsElement()106 return LogStatisticsElement{ in ToLogStatisticsElement()
42 static std::string TagNameKey(const LogStatisticsElement& element) { in TagNameKey()126 void LogStatistics::Add(LogStatisticsElement element) { in Add()202 void LogStatistics::Subtract(LogStatisticsElement element) { in Subtract()253 void LogStatistics::Drop(LogStatisticsElement element) { in Drop()290 void LogStatistics::Erase(LogStatisticsElement element) { in Erase()