This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: profile mode patch
On 12/09/2011 10:46 PM, François Dumont wrote:
Here is the patch to restore profile mode and more. I hope the
ChangeLog proposition will be ok:
2011-12-09 François Dumont <fdumont@gcc.gnu.org>
* include/profile/unordered_set, unordered_map
(_M_profile_destruct):
Fix implementation to not rely on normal implementation details
anymore. (_M_profile_resize): Implement it consistently
accross all
unordered containers. (emplace, emplace_hint): Add to signal
rehash to
profiling system.
* include/profile/unordered_set: Minor formatting changes.
(unordered_set<>::_M_profile_destruct,
unordered_multiset<>::_M_profile_destruct):
Fix implementation to not rely on normal implementation details
anymore.
(unordered_set<>::_M_profile_resize,
unordered_multiset<>::_M_profile_resize):
Implement consistently across all unordered containers.
(unordered_set<>::emplace, unordered_set<>::emplace_hint,
unordered_multiset<>::emplace,
unordered_multset<>::emplace_hint): Add to
signal rehash to profiling system.
* include/profile/unordered_map: Likewise for unordered_map<>
and multimap.
At least let's do something like the latter - I typed it directly in the
browser, thus make sure 80 columns are respected (sometimes I suspect
you never grep or even look at old ChangeLogs ;)
Thanks!
Paolo.