Searched refs:stats_ (Results 1 – 12 of 12) sorted by relevance
/system/core/logd/ |
D | LogBufferTest.h | 70 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};
|
D | SimpleLogBuffer.cpp | 24 : 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()
|
D | ReplayMessages.cpp | 234 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()
|
D | SerializedLogBuffer.cpp | 31 : 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()
|
D | CommandListener.h | 39 LogStatistics* stats_; variable 53 LogStatistics* stats() const { return parent_->stats_; } \
|
D | SimpleLogBuffer.h | 61 LogStatistics* stats() { return stats_; } in stats() 74 LogStatistics* stats_; variable
|
D | LogKlog.h | 52 LogStatistics* stats_;
|
D | LogAudit.h | 49 LogStatistics* stats_; variable
|
D | LogAudit.cpp | 56 stats_(stats) { in LogAudit() 213 uid = stats_->PidToUid(pid); in logPrint() 300 comm = commfree = stats_->PidToName(pid); in logPrint()
|
D | SerializedLogBuffer.h | 68 LogStatistics* stats_; variable
|
D | CommandListener.cpp | 45 : FrameworkListener(getLogSocket()), buf_(buf), tags_(tags), prune_(prune), stats_(stats) { in CommandListener()
|
D | LogKlog.cpp | 211 stats_(stats) { in LogKlog() 530 uid = stats_->PidToUid(pid); in log()
|