Home
last modified time | relevance | path

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

/system/core/logd/
DLogBufferTest.h70 log_buffer_.reset(new ChattyLogBuffer(&reader_list_, &tags_, &prune_, &stats_)); in SetUp()
72 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp()
74 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, &stats_)); in SetUp()
90 LogStatistics stats_{false, true};
DSimpleLogBuffer.cpp24 : reader_list_(reader_list), tags_(tags), stats_(stats) { in SimpleLogBuffer()
88 stats_->AddTotal(log_id, len); in Log()
107 stats_->Add(logs_.back().ToLogStatisticsElement()); in LogInternal()
205 if (!element.FlushTo(writer, stats_, same_tid)) { in FlushTo()
270 if (stats_->ShouldPrune(id, max_size_[id], &prune_rows)) { in MaybePrune()
311 stats_->Subtract(element.ToLogStatisticsElement()); in Prune()
344 if (stats_->Sizes(id) > (2 * max_size_[id])) { // +100% in KickReader()
DReplayMessages.cpp234 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
235 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
237 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
239 new ChattyLogBuffer(&reader_list_, &tags_, &prune_list_, stats_.get())); in SingleBufferOperation()
241 stats_.reset(new LogStatistics{false, true, first_log_timestamp}); in SingleBufferOperation()
242 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
269 std::unique_ptr<LogStatistics> stats_; member in SingleBufferOperation
334 auto stats_string = stats_->Format(0, 0, mask_); in End()
DSerializedLogBuffer.cpp31 : reader_list_(reader_list), tags_(tags), stats_(stats) { in SerializedLogBuffer()
78 stats_->AddTotal(log_id, len); in Log()
97 stats_->Add(entry->ToLogStatisticsElement(log_id)); in Log()
115 stats_->set_overhead(log_id, after_size); in MaybePrune()
123 stats_->Subtract(entry->ToLogStatisticsElement(log_id)); in RemoveChunkFromStats()
170 if (it_to_prune->ClearUidLogs(uid, log_id, stats_)) { in Prune()
DCommandListener.h39 LogStatistics* stats_; variable
53 LogStatistics* stats() const { return parent_->stats_; } \
DSimpleLogBuffer.h61 LogStatistics* stats() { return stats_; } in stats()
74 LogStatistics* stats_; variable
DLogKlog.h52 LogStatistics* stats_;
DLogAudit.h49 LogStatistics* stats_; variable
DLogAudit.cpp56 stats_(stats) { in LogAudit()
213 uid = stats_->PidToUid(pid); in logPrint()
300 comm = commfree = stats_->PidToName(pid); in logPrint()
DSerializedLogBuffer.h68 LogStatistics* stats_; variable
DCommandListener.cpp45 : FrameworkListener(getLogSocket()), buf_(buf), tags_(tags), prune_(prune), stats_(stats) { in CommandListener()
DLogKlog.cpp211 stats_(stats) { in LogKlog()
530 uid = stats_->PidToUid(pid); in log()