Searched refs:LogStatisticsElement (Results 1 – 5 of 5) sorted by relevance
50 struct LogStatisticsElement { struct141 iterator Add(const TKey& key, const LogStatisticsElement& element) { in Add()161 void Subtract(const TKey& key, const LogStatisticsElement& element) { in Subtract()168 void Drop(const TKey& key, const LogStatisticsElement& element) { in Drop()175 void Erase(const TKey& key, const LogStatisticsElement& element) { in Erase()191 explicit EntryBase(const LogStatisticsElement& element) : size_(element.total_len) {} in EntryBase()195 void Add(const LogStatisticsElement& element) { size_ += element.total_len; } in Add()196 bool Subtract(const LogStatisticsElement& element) { in Subtract()200 void Drop(const LogStatisticsElement& element) { size_ -= element.msg_len; } in Drop()201 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()
82 LogStatisticsElement LogBufferElement::ToLogStatisticsElement() const { in ToLogStatisticsElement()87 return LogStatisticsElement{ in ToLogStatisticsElement()
41 LogStatisticsElement ToLogStatisticsElement() const;
42 static std::string TagNameKey(const LogStatisticsElement& element) { in TagNameKey()121 void LogStatistics::Add(LogStatisticsElement element) { in Add()183 void LogStatistics::Subtract(LogStatisticsElement element) { in Subtract()