Home
last modified time | relevance | path

Searched refs:stats_ (Results 1 – 12 of 12) sorted by relevance

/system/logging/logd/
DSimpleLogBuffer.cpp25 : reader_list_(reader_list), tags_(tags), stats_(stats) { in SimpleLogBuffer()
89 stats_->AddTotal(log_id, len); in Log()
108 stats_->Add(logs_.back().ToLogStatisticsElement()); in LogInternal()
204 if (!element.FlushTo(writer, stats_, same_tid)) { in FlushTo()
270 if (stats_->ShouldPrune(id, max_size_[id], &prune_rows)) { in MaybePrune()
309 stats_->Subtract(element.ToLogStatisticsElement()); in Prune()
342 if (stats_->Sizes(id) > (2 * max_size_[id])) { // +100% in KickReader()
DReplayMessages.cpp245 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
246 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
248 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
250 new ChattyLogBuffer(&reader_list_, &tags_, &prune_list_, stats_.get())); in SingleBufferOperation()
252 stats_.reset(new LogStatistics{false, true, first_log_timestamp}); in SingleBufferOperation()
253 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
280 std::unique_ptr<LogStatistics> stats_; member in SingleBufferOperation
329 auto stats_string = stats_->Format(0, 0, mask_); in End()
DLogBufferTest.h74 log_buffer_.reset(new ChattyLogBuffer(&reader_list_, &tags_, &prune_, &stats_)); in SetUp()
76 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp()
78 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp()
180 LogStatistics stats_{false, true};
DCommandListener.h39 LogStatistics* stats_; variable
53 LogStatistics* stats() const { return parent_->stats_; } \
DSerializedLogBuffer.cpp96 : reader_list_(reader_list), tags_(tags), stats_(stats) { in SerializedLogBuffer()
147 stats_->AddTotal(log_id, len); in Log()
156 stats_->Add(entry->ToLogStatisticsElement(log_id)); in Log()
174 stats_->set_overhead(log_id, after_size); in MaybePrune()
180 stats_->Subtract(entry.ToLogStatisticsElement(log_id)); in RemoveChunkFromStats()
243 ClearLogsByUid(logs_[log_id], uid, max_size_[log_id], log_id, stats_); in UidClear()
DSimpleLogBuffer.h63 LogStatistics* stats() { return stats_; } in stats()
74 LogStatistics* stats_; variable
DLogKlog.h52 LogStatistics* stats_;
DLogAudit.h49 LogStatistics* stats_; variable
DLogAudit.cpp58 stats_(stats) { in LogAudit()
213 uid = stats_->PidToUid(pid); in logPrint()
300 comm = commfree = stats_->PidToName(pid); in logPrint()
DSerializedLogBuffer.h70 LogStatistics* stats_; variable
DCommandListener.cpp46 : FrameworkListener(getLogSocket()), buf_(buf), tags_(tags), prune_(prune), stats_(stats) { in CommandListener()
DLogKlog.cpp211 stats_(stats) { in LogKlog()
528 uid = stats_->PidToUid(pid); in log()