#include <diff_container.h>
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 |
Store two profiles for diffing.
Definition at line 21 of file diff_container.h.
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.
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.
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().
profile_container const& diff_container::pc1 [private] |
profile_container const& diff_container::pc2 [private] |
count_array_t diff_container::total1 [private] |
samples count for pc1
Definition at line 44 of file diff_container.h.
count_array_t diff_container::total2 [private] |
samples count for pc2
Definition at line 47 of file diff_container.h.