Public Member Functions | |
process_info () | |
void | build_process (string const &pid, size_t l, size_t h) |
void | add_thread (string const &tid, size_t l, size_t h) |
void | add_modules (string const &module, string const &app_name, sym_iterator it) |
void | summarize () |
void | set_end (sym_iterator end) |
void | output (ostream &out) |
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 | add_to_summary (count_array_t const &counts) |
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 |
Private Attributes | |
size_t | nr_threads |
string | process_id |
growable_vector< thread_info > | my_threads |
Definition at line 463 of file xml_utils.cpp.
process_info::process_info | ( | ) | [inline] |
Definition at line 465 of file xml_utils.cpp.
References nr_threads.
void process_info::add_modules | ( | string const & | module, | |
string const & | app_name, | |||
sym_iterator | it | |||
) |
Definition at line 827 of file xml_utils.cpp.
References my_threads, and nr_threads.
void process_info::add_thread | ( | string const & | tid, | |
size_t | l, | |||
size_t | h | |||
) |
Definition at line 821 of file xml_utils.cpp.
References my_threads, and nr_threads.
Referenced by build_process_tree().
void module_info::add_to_summary | ( | count_array_t const & | counts | ) | [inherited] |
Definition at line 540 of file xml_utils.cpp.
References module_info::hi, and module_info::lo.
Referenced by thread_info::add_module_symbol(), binary_info::add_module_symbol(), thread_info::summarize(), and summarize().
void module_info::build_module | ( | string const & | n, | |
sym_iterator | it, | |||
size_t | l, | |||
size_t | h | |||
) | [inherited] |
Definition at line 531 of file xml_utils.cpp.
References module_info::hi, and module_info::lo.
Referenced by thread_info::add_module_symbol().
void process_info::build_process | ( | string const & | pid, | |
size_t | l, | |||
size_t | h | |||
) |
Definition at line 813 of file xml_utils.cpp.
References module_info::hi, module_info::lo, and process_id.
void process_info::dump | ( | ) |
Reimplemented from module_info.
Definition at line 961 of file xml_utils.cpp.
References cverb, my_threads, nr_threads, process_id, and vxml.
string module_info::get_name | ( | ) | [inline, inherited] |
Definition at line 419 of file xml_utils.cpp.
count_array_t const& module_info::get_summary | ( | ) | [inline, inherited] |
Definition at line 422 of file xml_utils.cpp.
Referenced by thread_info::summarize(), and summarize().
bool module_info::is_closed | ( | string const & | n | ) | [inherited] |
Definition at line 561 of file xml_utils.cpp.
Referenced by thread_info::add_modules().
void process_info::output | ( | ostream & | out | ) |
Reimplemented from module_info.
Definition at line 938 of file xml_utils.cpp.
References close_element(), init_attr(), my_threads, NAME, NONE, nr_threads, open_element(), module_info::output_summary(), PROC_ID, PROCESS, and process_id.
void module_info::output_summary | ( | ostream & | out | ) | [protected, inherited] |
Definition at line 585 of file xml_utils.cpp.
References module_info::hi, module_info::lo, and xml_utils::output_summary_data().
Referenced by output(), thread_info::output(), binary_info::output(), and module_info::output().
void module_info::output_symbols | ( | ostream & | out, | |
bool | is_module | |||
) | [protected, inherited] |
Definition at line 592 of file xml_utils.cpp.
References module_info::hi, module_info::lo, and format_output::xml_formatter::output_symbol().
Referenced by binary_info::output(), and module_info::output().
void module_info::set_begin | ( | sym_iterator | b | ) | [inherited] |
Definition at line 547 of file xml_utils.cpp.
Referenced by binary_info::add_module_symbol().
void process_info::set_end | ( | sym_iterator | end | ) |
Reimplemented from module_info.
Definition at line 931 of file xml_utils.cpp.
References my_threads, and nr_threads.
void module_info::set_hi | ( | size_t | h | ) | [inline, inherited] |
Definition at line 421 of file xml_utils.cpp.
References module_info::hi.
void module_info::set_lo | ( | size_t | l | ) | [inline, inherited] |
Definition at line 420 of file xml_utils.cpp.
References module_info::lo.
void process_info::summarize | ( | ) |
Definition at line 837 of file xml_utils.cpp.
References module_info::add_to_summary(), module_info::get_summary(), my_threads, nr_threads, and thread_info::summarize().
unsigned long module_info::addr [inherited] |
Definition at line 170 of file p_module.h.
Referenced by opd_drop_module_sample().
sym_iterator module_info::begin [protected, inherited] |
Definition at line 433 of file xml_utils.cpp.
sym_iterator module_info::end [protected, inherited] |
Definition at line 434 of file xml_utils.cpp.
unsigned long module_info::flags [inherited] |
Definition at line 172 of file p_module.h.
size_t module_info::hi [protected, inherited] |
Definition at line 441 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), thread_info::add_modules(), module_info::add_to_summary(), binary_info::build_binary(), module_info::build_module(), build_process(), thread_info::build_thread(), module_info::dump(), module_info::module_info(), module_info::output_summary(), module_info::output_symbols(), and module_info::set_hi().
size_t module_info::lo [protected, inherited] |
Definition at line 440 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), thread_info::add_modules(), module_info::add_to_summary(), binary_info::build_binary(), module_info::build_module(), build_process(), thread_info::build_thread(), module_info::dump(), module_info::module_info(), module_info::output_summary(), module_info::output_symbols(), and module_info::set_lo().
growable_vector<thread_info> process_info::my_threads [private] |
Definition at line 477 of file xml_utils.cpp.
Referenced by add_modules(), add_thread(), dump(), output(), set_end(), and summarize().
string module_info::name [protected, inherited] |
Definition at line 432 of file xml_utils.cpp.
size_t process_info::nr_threads [private] |
Definition at line 475 of file xml_utils.cpp.
Referenced by add_modules(), add_thread(), dump(), output(), process_info(), set_end(), and summarize().
string process_info::process_id [private] |
Definition at line 476 of file xml_utils.cpp.
Referenced by build_process(), dump(), and output().
unsigned long module_info::size [inherited] |
Definition at line 171 of file p_module.h.
Referenced by opd_drop_module_sample().
count_array_t module_info::summary [protected, inherited] |
Definition at line 437 of file xml_utils.cpp.
long module_info::usecount [inherited] |
Definition at line 173 of file p_module.h.