Lines Matching refs:LogStatistics
40 std::atomic<size_t> LogStatistics::SizesTotal;
66 LogStatistics::LogStatistics(bool enable_statistics, bool track_total_size, in LogStatistics() function in LogStatistics
90 return LogStatistics::sizesTotal(); in sizesTotal()
118 void LogStatistics::AddTotal(log_id_t log_id, uint16_t size) { in AddTotal()
126 void LogStatistics::Add(LogStatisticsElement element) { in Add()
202 void LogStatistics::Subtract(LogStatisticsElement element) { in Subtract()
253 void LogStatistics::Drop(LogStatisticsElement element) { in Drop()
290 void LogStatistics::Erase(LogStatisticsElement element) { in Erase()
327 const char* LogStatistics::UidToName(uid_t uid) const { in UidToName()
333 const char* LogStatistics::UidToNameLocked(uid_t uid) const { in UidToNameLocked()
391 void LogStatistics::WorstTwoWithThreshold(const LogHashtable<TKey, TEntry>& table, size_t threshold, in WorstTwoWithThreshold()
412 void LogStatistics::WorstTwoUids(log_id id, size_t threshold, int* worst, size_t* worst_sizes, in WorstTwoUids()
418 void LogStatistics::WorstTwoTags(size_t threshold, int* worst, size_t* worst_sizes, in WorstTwoTags()
424 void LogStatistics::WorstTwoSystemPids(log_id id, size_t worst_uid_sizes, int* worst, in WorstTwoSystemPids()
439 bool LogStatistics::ShouldPrune(log_id id, unsigned long max_size, in ShouldPrune()
477 void LogStatistics::FormatTmp(const char* nameTmp, uid_t uid, std::string& name, std::string& size, in FormatTmp()
500 std::string UidEntry::format(const LogStatistics& stat, log_id_t id, uid_t uid) const in format()
510 for (LogStatistics::uidTable_t::const_iterator it = in format()
605 std::string PidEntry::format(const LogStatistics& stat, log_id_t, pid_t pid) const in format()
628 std::string TidEntry::format(const LogStatistics& stat, log_id_t, pid_t tid) const in format()
652 std::string TagEntry::format(const LogStatistics&, log_id_t, uint32_t) const { in format() argument
683 std::string TagNameEntry::format(const LogStatistics&, log_id_t, in format() argument
768 std::string LogStatistics::FormatTable(const LogHashtable<TKey, TEntry>& table, uid_t uid, in FormatTable()
795 std::string LogStatistics::ReportInteresting() const { in ReportInteresting()
820 std::string LogStatistics::Format(uid_t uid, pid_t pid, unsigned int logMask) const { in Format()
1056 uid_t LogStatistics::PidToUid(pid_t pid) { in PidToUid()
1062 const char* LogStatistics::PidToName(pid_t pid) const { in PidToName()