LLDB mainline
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBStatisticsOptions Class Reference

This class handles the verbosity when dumping statistics. More...

#include <SBStatisticsOptions.h>

Public Member Functions

 SBStatisticsOptions ()
 
 SBStatisticsOptions (const lldb::SBStatisticsOptions &rhs)
 
 ~SBStatisticsOptions ()
 
const SBStatisticsOptionsoperator= (const lldb::SBStatisticsOptions &rhs)
 
void SetSummaryOnly (bool b)
 
bool GetSummaryOnly ()
 
void SetReportAllAvailableDebugInfo (bool b)
 If set to true, the debugger will load all debug info that is available and report statistics on the total amount.
 
bool GetReportAllAvailableDebugInfo ()
 

Protected Member Functions

const lldb_private::StatisticsOptionsref () const
 

Private Attributes

std::unique_ptr< lldb_private::StatisticsOptionsm_opaque_up
 

Friends

class SBTarget
 

Detailed Description

This class handles the verbosity when dumping statistics.

Definition at line 17 of file SBStatisticsOptions.h.

Constructor & Destructor Documentation

◆ SBStatisticsOptions() [1/2]

SBStatisticsOptions::SBStatisticsOptions ( )

Definition at line 18 of file SBStatisticsOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SBStatisticsOptions() [2/2]

SBStatisticsOptions::SBStatisticsOptions ( const lldb::SBStatisticsOptions rhs)

Definition at line 24 of file SBStatisticsOptions.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ~SBStatisticsOptions()

SBStatisticsOptions::~SBStatisticsOptions ( )
default

Member Function Documentation

◆ GetReportAllAvailableDebugInfo()

bool SBStatisticsOptions::GetReportAllAvailableDebugInfo ( )

Definition at line 51 of file SBStatisticsOptions.cpp.

References m_opaque_up.

◆ GetSummaryOnly()

bool SBStatisticsOptions::GetSummaryOnly ( )

Definition at line 45 of file SBStatisticsOptions.cpp.

References m_opaque_up.

◆ operator=()

const SBStatisticsOptions & SBStatisticsOptions::operator= ( const lldb::SBStatisticsOptions rhs)

Definition at line 33 of file SBStatisticsOptions.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ref()

const lldb_private::StatisticsOptions & SBStatisticsOptions::ref ( ) const
protected

Definition at line 55 of file SBStatisticsOptions.cpp.

References m_opaque_up.

Referenced by lldb::SBTarget::GetStatistics().

◆ SetReportAllAvailableDebugInfo()

void SBStatisticsOptions::SetReportAllAvailableDebugInfo ( bool  b)

If set to true, the debugger will load all debug info that is available and report statistics on the total amount.

If this is set to false, then only report statistics on the currently loaded debug information. This can avoid loading debug info from separate files just so it can report the total size which can slow down statistics reporting.

Definition at line 47 of file SBStatisticsOptions.cpp.

References m_opaque_up.

◆ SetSummaryOnly()

void SBStatisticsOptions::SetSummaryOnly ( bool  b)

Definition at line 41 of file SBStatisticsOptions.cpp.

References m_opaque_up.

Friends And Related Function Documentation

◆ SBTarget

friend class SBTarget
friend

Definition at line 37 of file SBStatisticsOptions.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::StatisticsOptions> lldb::SBStatisticsOptions::m_opaque_up
private

The documentation for this class was generated from the following files: