module_info Class Reference

#include <p_module.h>

Inheritance diagram for module_info:
Inheritance graph
[legend]
Collaboration diagram for module_info:
Collaboration graph
[legend]

Public Member Functions

 module_info ()
void dump ()
void build_module (string const &n, sym_iterator it, size_t l, size_t h)
string get_name ()
void set_lo (size_t l)
void set_hi (size_t h)
count_array_t const & get_summary ()
void set_begin (sym_iterator b)
void set_end (sym_iterator e)
void add_to_summary (count_array_t const &counts)
void output (ostream &out)
bool is_closed (string const &n)

Data Fields

unsigned long addr
unsigned long size
unsigned long flags
long usecount

Protected Member Functions

void output_summary (ostream &out)
void output_symbols (ostream &out, bool is_module)

Protected Attributes

string name
sym_iterator begin
sym_iterator end
count_array_t summary
size_t lo
size_t hi

Detailed Description

Definition at line 168 of file p_module.h.


Constructor & Destructor Documentation

module_info::module_info (  )  [inline]

Definition at line 414 of file xml_utils.cpp.

References hi, and lo.


Member Function Documentation

void module_info::add_to_summary ( count_array_t const &  counts  ) 

Definition at line 540 of file xml_utils.cpp.

References hi, and lo.

Referenced by thread_info::add_module_symbol(), binary_info::add_module_symbol(), thread_info::summarize(), and process_info::summarize().

Here is the caller graph for this function:

void module_info::build_module ( string const &  n,
sym_iterator  it,
size_t  l,
size_t  h 
)

Definition at line 531 of file xml_utils.cpp.

References hi, and lo.

Referenced by thread_info::add_module_symbol().

Here is the caller graph for this function:

void module_info::dump (  ) 

Reimplemented in thread_info, process_info, and binary_info.

Definition at line 567 of file xml_utils.cpp.

References cverb, hi, lo, and vxml.

string module_info::get_name (  )  [inline]

Definition at line 419 of file xml_utils.cpp.

count_array_t const& module_info::get_summary (  )  [inline]

Definition at line 422 of file xml_utils.cpp.

Referenced by thread_info::summarize(), and process_info::summarize().

Here is the caller graph for this function:

bool module_info::is_closed ( string const &  n  ) 

Definition at line 561 of file xml_utils.cpp.

Referenced by thread_info::add_modules().

Here is the caller graph for this function:

void module_info::output ( ostream &  out  ) 

Reimplemented in thread_info, process_info, and binary_info.

Definition at line 575 of file xml_utils.cpp.

References close_element(), init_attr(), MODULE, NAME, NONE, open_element(), output_summary(), and output_symbols().

Here is the call graph for this function:

void module_info::output_summary ( ostream &  out  )  [protected]

Definition at line 585 of file xml_utils.cpp.

References hi, lo, and xml_utils::output_summary_data().

Referenced by process_info::output(), thread_info::output(), binary_info::output(), and output().

Here is the call graph for this function:

Here is the caller graph for this function:

void module_info::output_symbols ( ostream &  out,
bool  is_module 
) [protected]

Definition at line 592 of file xml_utils.cpp.

References hi, lo, and format_output::xml_formatter::output_symbol().

Referenced by binary_info::output(), and output().

Here is the call graph for this function:

Here is the caller graph for this function:

void module_info::set_begin ( sym_iterator  b  ) 

Definition at line 547 of file xml_utils.cpp.

Referenced by binary_info::add_module_symbol().

Here is the caller graph for this function:

void module_info::set_end ( sym_iterator  e  ) 

Reimplemented in thread_info, and process_info.

Definition at line 554 of file xml_utils.cpp.

Referenced by binary_info::add_module_symbol(), thread_info::add_modules(), and binary_info::close_binary().

Here is the caller graph for this function:

void module_info::set_hi ( size_t  h  )  [inline]

Definition at line 421 of file xml_utils.cpp.

References hi.

void module_info::set_lo ( size_t  l  )  [inline]

Definition at line 420 of file xml_utils.cpp.

References lo.


Field Documentation

unsigned long module_info::addr

Definition at line 170 of file p_module.h.

Referenced by opd_drop_module_sample().

Definition at line 433 of file xml_utils.cpp.

Definition at line 434 of file xml_utils.cpp.

unsigned long module_info::flags

Definition at line 172 of file p_module.h.

size_t module_info::hi [protected]
size_t module_info::lo [protected]
string module_info::name [protected]

Definition at line 432 of file xml_utils.cpp.

unsigned long module_info::size

Definition at line 171 of file p_module.h.

Referenced by opd_drop_module_sample().

Definition at line 437 of file xml_utils.cpp.

Definition at line 173 of file p_module.h.


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1