| LLDB mainline
    | 
A class that wraps a std::map of SummaryStatistics objects behind a mutex. More...
#include <Statistics.h>
| Public Member Functions | |
| SummaryStatisticsSP | GetSummaryStatisticsForProvider (lldb_private::TypeSummaryImpl &provider) | 
| Get the SummaryStatistics object for a given provider name, or insert if statistics for that provider is not in the map. | |
| llvm::json::Value | ToJSON () | 
| void | Reset () | 
| Private Attributes | |
| llvm::StringMap< SummaryStatisticsSP > | m_summary_stats_map | 
| std::mutex | m_map_mutex | 
A class that wraps a std::map of SummaryStatistics objects behind a mutex.
Definition at line 284 of file Statistics.h.
| 
 | inline | 
Get the SummaryStatistics object for a given provider name, or insert if statistics for that provider is not in the map.
Definition at line 289 of file Statistics.h.
References lldb_private::TypeSummaryImpl::GetName(), lldb_private::TypeSummaryImpl::GetSummaryKindName(), m_map_mutex, and m_summary_stats_map.
| void SummaryStatisticsCache::Reset | ( | ) | 
Definition at line 534 of file Statistics.cpp.
References m_summary_stats_map.
Referenced by lldb_private::TargetStats::Reset().
| json::Value SummaryStatisticsCache::ToJSON | ( | ) | 
Definition at line 525 of file Statistics.cpp.
References m_map_mutex, and m_summary_stats_map.
Referenced by lldb_private::TargetStats::ToJSON().
| 
 | private | 
Definition at line 308 of file Statistics.h.
Referenced by GetSummaryStatisticsForProvider(), and ToJSON().
| 
 | private | 
Definition at line 307 of file Statistics.h.
Referenced by GetSummaryStatisticsForProvider(), Reset(), and ToJSON().