Home
last modified time | relevance | path

Searched refs:LogStatisticsElement (Results 1 – 5 of 5) sorted by relevance

/system/logging/logd/
DLogStatistics.h50 struct LogStatisticsElement { struct
141 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 …]
DSerializedLogEntry.h51 LogStatisticsElement ToLogStatisticsElement(log_id_t log_id) const { in ToLogStatisticsElement()
52 return LogStatisticsElement{ in ToLogStatisticsElement()
DLogBufferElement.cpp82 LogStatisticsElement LogBufferElement::ToLogStatisticsElement() const { in ToLogStatisticsElement()
87 return LogStatisticsElement{ in ToLogStatisticsElement()
DLogBufferElement.h41 LogStatisticsElement ToLogStatisticsElement() const;
DLogStatistics.cpp42 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()