GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
scoped_command_stats Class Reference

#include "maint.h"

Public Member Functions

 scoped_command_stats (bool msg_type)
 
 ~scoped_command_stats ()
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (scoped_command_stats)
 
void print_time (const char *msg)
 

Private Attributes

bool m_msg_type
 
bool m_time_enabled: 1
 
bool m_space_enabled: 1
 
bool m_symtab_enabled: 1
 
run_time_clock::time_point m_start_cpu_time
 
std::chrono::steady_clock::time_point m_start_wall_time
 
long m_start_space
 
int m_start_nr_symtabs
 
int m_start_nr_compunit_symtabs
 
int m_start_nr_blocks
 

Detailed Description

Definition at line 32 of file maint.h.

Constructor & Destructor Documentation

◆ scoped_command_stats()

scoped_command_stats::scoped_command_stats ( bool msg_type)
explicit

◆ ~scoped_command_stats()

scoped_command_stats::~scoped_command_stats ( )

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

scoped_command_stats::DISABLE_COPY_AND_ASSIGN ( scoped_command_stats )
private

◆ print_time()

void scoped_command_stats::print_time ( const char * msg)
private

Definition at line 1085 of file maint.c.

References gdb_printf(), and gdb_stdlog.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

Member Data Documentation

◆ m_msg_type

bool scoped_command_stats::m_msg_type
private

Definition at line 48 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_space_enabled

bool scoped_command_stats::m_space_enabled
private

Definition at line 53 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_start_cpu_time

run_time_clock::time_point scoped_command_stats::m_start_cpu_time
private

Definition at line 55 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_start_nr_blocks

int scoped_command_stats::m_start_nr_blocks
private

Definition at line 63 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_start_nr_compunit_symtabs

int scoped_command_stats::m_start_nr_compunit_symtabs
private

Definition at line 61 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_start_nr_symtabs

int scoped_command_stats::m_start_nr_symtabs
private

Definition at line 59 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_start_space

long scoped_command_stats::m_start_space
private

Definition at line 57 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_start_wall_time

std::chrono::steady_clock::time_point scoped_command_stats::m_start_wall_time
private

Definition at line 56 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_symtab_enabled

bool scoped_command_stats::m_symtab_enabled
private

Definition at line 54 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().

◆ m_time_enabled

bool scoped_command_stats::m_time_enabled
private

Definition at line 52 of file maint.h.

Referenced by scoped_command_stats(), and ~scoped_command_stats().


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