thread_info Class Reference

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

Public Member Functions

 thread_info ()
void build_thread (string const &tid, size_t l, size_t h)
bool add_modules (string const &module, sym_iterator it)
void add_module_symbol (string const &n, sym_iterator it)
void summarize ()
void set_end (sym_iterator end)
string const get_tid ()
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_modules
string thread_id
growable_vector< module_infomy_modules

Detailed Description

Definition at line 444 of file xml_utils.cpp.


Constructor & Destructor Documentation

thread_info::thread_info (  )  [inline]

Definition at line 446 of file xml_utils.cpp.

References nr_modules.


Member Function Documentation

void thread_info::add_module_symbol ( string const &  n,
sym_iterator  it 
)

Definition at line 869 of file xml_utils.cpp.

References module_info::add_to_summary(), module_info::build_module(), module_info::hi, module_info::lo, my_modules, and nr_modules.

Referenced by add_modules().

Here is the call graph for this function:

Here is the caller graph for this function:

bool thread_info::add_modules ( string const &  module,
sym_iterator  it 
)

Definition at line 898 of file xml_utils.cpp.

References add_module_symbol(), has_sample_counts(), module_info::hi, module_info::is_closed(), module_info::lo, my_modules, nr_modules, and module_info::set_end().

Here is the call graph for this function:

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 add_module_symbol(), binary_info::add_module_symbol(), 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 
) [inherited]

Definition at line 531 of file xml_utils.cpp.

References module_info::hi, and module_info::lo.

Referenced by add_module_symbol().

Here is the caller graph for this function:

void thread_info::build_thread ( string const &  tid,
size_t  l,
size_t  h 
)

Definition at line 847 of file xml_utils.cpp.

References module_info::hi, module_info::lo, and thread_id.

void thread_info::dump (  ) 

Reimplemented from module_info.

Definition at line 923 of file xml_utils.cpp.

References cverb, my_modules, nr_modules, thread_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 summarize(), and process_info::summarize().

Here is the caller graph for this function:

string const thread_info::get_tid (  )  [inline]

Definition at line 453 of file xml_utils.cpp.

References thread_id.

bool module_info::is_closed ( string const &  n  )  [inherited]

Definition at line 561 of file xml_utils.cpp.

Referenced by add_modules().

Here is the caller graph for this function:

void thread_info::output ( ostream &  out  ) 

Reimplemented from module_info.

Definition at line 876 of file xml_utils.cpp.

References close_element(), init_attr(), my_modules, NONE, nr_modules, open_element(), module_info::output_summary(), THREAD, thread_id, and THREAD_ID.

Here is the call graph for this function:

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 process_info::output(), output(), binary_info::output(), and module_info::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, 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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void thread_info::set_end ( sym_iterator  end  ) 

Reimplemented from module_info.

Definition at line 862 of file xml_utils.cpp.

References my_modules, and nr_modules.

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 thread_info::summarize (  ) 

Definition at line 855 of file xml_utils.cpp.

References module_info::add_to_summary(), module_info::get_summary(), my_modules, and nr_modules.

Referenced by process_info::summarize().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

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]
size_t module_info::lo [protected, inherited]

Definition at line 460 of file xml_utils.cpp.

Referenced by add_module_symbol(), add_modules(), dump(), output(), set_end(), and summarize().

string module_info::name [protected, inherited]

Definition at line 432 of file xml_utils.cpp.

size_t thread_info::nr_modules [private]
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.

string thread_info::thread_id [private]

Definition at line 459 of file xml_utils.cpp.

Referenced by build_thread(), dump(), get_tid(), and output().

long module_info::usecount [inherited]

Definition at line 173 of file p_module.h.


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1