diff_container Class Reference

#include <diff_container.h>

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

Public Member Functions

 diff_container (profile_container const &pc1, profile_container const &pc2)
 populate the collection of diffed symbols
 ~diff_container ()
diff_collection const get_symbols (profile_container::symbol_choice &choice) const
 return a collection of diffed symbols
count_array_t const samples_count () const
 total count for 'new' profile

Private Attributes

profile_container const & pc1
 first profile
profile_container const & pc2
 second profile
count_array_t total1
 samples count for pc1
count_array_t total2
 samples count for pc2

Detailed Description

Store two profiles for diffing.

Definition at line 21 of file diff_container.h.


Constructor & Destructor Documentation

diff_container::diff_container ( profile_container const &  pc1,
profile_container const &  pc2 
)

populate the collection of diffed symbols

Definition at line 107 of file diff_container.cpp.

diff_container::~diff_container (  )  [inline]

Definition at line 27 of file diff_container.h.


Member Function Documentation

diff_collection const diff_container::get_symbols ( profile_container::symbol_choice choice  )  const

return a collection of diffed symbols

Definition at line 116 of file diff_container.cpp.

References profile_container::begin_symbol(), profile_container::end_symbol(), pc1, and pc2.

Here is the call graph for this function:

count_array_t const diff_container::samples_count (  )  const

total count for 'new' profile

Definition at line 156 of file diff_container.cpp.

Referenced by format_output::diff_formatter::diff_formatter().

Here is the caller graph for this function:


Field Documentation

first profile

Definition at line 38 of file diff_container.h.

Referenced by get_symbols().

second profile

Definition at line 41 of file diff_container.h.

Referenced by get_symbols().

samples count for pc1

Definition at line 44 of file diff_container.h.

samples count for pc2

Definition at line 47 of file diff_container.h.


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1