#include <p_module.h>
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 |
Definition at line 168 of file p_module.h.
module_info::module_info | ( | ) | [inline] |
Definition at line 414 of file xml_utils.cpp.
void module_info::add_to_summary | ( | count_array_t const & | counts | ) |
Definition at line 540 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), binary_info::add_module_symbol(), thread_info::summarize(), and process_info::summarize().
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.
Referenced by thread_info::add_module_symbol().
void module_info::dump | ( | ) |
Reimplemented in thread_info, process_info, and binary_info.
Definition at line 567 of file xml_utils.cpp.
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().
bool module_info::is_closed | ( | string const & | n | ) |
Definition at line 561 of file xml_utils.cpp.
Referenced by thread_info::add_modules().
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().
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().
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().
void module_info::set_begin | ( | sym_iterator | b | ) |
Definition at line 547 of file xml_utils.cpp.
Referenced by binary_info::add_module_symbol().
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().
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.
unsigned long module_info::addr |
Definition at line 170 of file p_module.h.
Referenced by opd_drop_module_sample().
sym_iterator module_info::begin [protected] |
Definition at line 433 of file xml_utils.cpp.
sym_iterator module_info::end [protected] |
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] |
Definition at line 441 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), thread_info::add_modules(), add_to_summary(), binary_info::build_binary(), build_module(), process_info::build_process(), thread_info::build_thread(), dump(), module_info(), output_summary(), output_symbols(), and set_hi().
size_t module_info::lo [protected] |
Definition at line 440 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), thread_info::add_modules(), add_to_summary(), binary_info::build_binary(), build_module(), process_info::build_process(), thread_info::build_thread(), dump(), module_info(), output_summary(), output_symbols(), and set_lo().
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().
count_array_t module_info::summary [protected] |
Definition at line 437 of file xml_utils.cpp.
Definition at line 173 of file p_module.h.