Searched refs:stats_ (Results 1 – 12 of 12) sorted by relevance
/system/logging/logd/ |
D | SimpleLogBuffer.cpp | 25 : 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()
|
D | ReplayMessages.cpp | 245 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()
|
D | LogBufferTest.h | 74 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};
|
D | CommandListener.h | 39 LogStatistics* stats_; variable 53 LogStatistics* stats() const { return parent_->stats_; } \
|
D | SerializedLogBuffer.cpp | 96 : 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()
|
D | SimpleLogBuffer.h | 63 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 | 58 stats_(stats) { in LogAudit() 213 uid = stats_->PidToUid(pid); in logPrint() 300 comm = commfree = stats_->PidToName(pid); in logPrint()
|
D | SerializedLogBuffer.h | 70 LogStatistics* stats_; variable
|
D | CommandListener.cpp | 46 : FrameworkListener(getLogSocket()), buf_(buf), tags_(tags), prune_(prune), stats_(stats) { in CommandListener()
|
D | LogKlog.cpp | 211 stats_(stats) { in LogKlog() 528 uid = stats_->PidToUid(pid); in log()
|