Diff of /libpp/profile_container.cpp [1b090c] .. [b9e7ba]  Maximize  Restore

  Switch to unified view

a/libpp/profile_container.cpp b/libpp/profile_container.cpp
...
...
135
    if (cverb << vdebug) {
135
    if (cverb << vdebug) {
136
        profile_t::iterator_pair summary_it =
136
        profile_t::iterator_pair summary_it =
137
            profile.samples_range(profile.get_offset(), ~0ULL);
137
            profile.samples_range(profile.get_offset(), ~0ULL);
138
        count_type module_summary_count = accumulate(summary_it.first, summary_it.second, 0ull);
138
        count_type module_summary_count = accumulate(summary_it.first, summary_it.second, 0ull);
139
        if (sym_count_total < module_summary_count)
139
        if (sym_count_total < module_summary_count)
140
            cerr << "INFO: Sample counts differ:  Module summary count: " << dec
140
            cout << "INFO: Sample counts differ:  Module summary count: " << dec
141
                 << module_summary_count << "; total symbols count: " << sym_count_total
141
                 << module_summary_count << "; total symbols count: " << sym_count_total
142
                 << endl << "\timage name: " << image_name << endl;
142
                 << endl << "\timage name: " << image_name << endl;
143
      else
143
      else if (module_summary_count < sym_count_total)
144
            cerr << "Warning: Number of samples for module unexpectedly less than total "
144
            cout << "Warning: Number of samples for module unexpectedly less than total "
145
                 "symbols count!"  << endl << "\timage name: " << image_name << endl;
145
                 "symbols count!"  << endl << "\timage name: " << image_name << endl;
146
    }
146
    }
147
}
147
}
148
148
149
149

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks