Re: Profile mode (was Re: Add std::unordered_* C++11 allocator support)

2013-04-27 Thread Gedare Bloom
Hi,

I have made some fixes and improvements in profile mode and recently
posted to my github (user gedare, repo stlprof) for another to try
out. I will try to send the shippable patches upstream soon. The
profile mode is interesting and useful to me as part of work done for
my ph.d. thesis, and I think can benefit from a few more improvements.
I do not know that I can spare the effort to "maintain" it, but maybe
I can review patches to avoid breaking it...

-Gedare

On Thu, Apr 25, 2013 at 3:27 PM, François Dumont  wrote:
> On 04/25/2013 11:36 AM, Paolo Carlini wrote:
>>
>> On 04/25/2013 11:16 AM, Jonathan Wakely wrote:
>>>
>>> On 25 April 2013 09:52, Paolo Carlini wrote:

 Hi,

 could you please take care of the profile-mode bits too? Let's try to
 keep
 the 3 modes in sync, I noticed only by chance.
>>>
>>> Does **anyone** use profile mode?
>>>
>>> It has no maintainers, few (if any) users, and is an ongoing maintenance
>>> burden.
>>
>> For sure it's a burden. I have no personal objections to removing it, but
>> as long as it remains in, the testsuite must be clean, as for everything
>> else.
>>
>> Paolo.
>>
>>
> I can take care of this, sure.
>
> Personally I find this profile mode really interesting and would advise
> anyone using libstdc++ to give it a try. I think it worth the maintenance
> effort.
>
> And today I even consider extending it for an other purpose. I am
> working on using the hint of the unordered insert or emplace_hint methods.
> We will have to document how we use it but I also want to use the profile
> mode to study if the iterator used as a hint has been really useful or not.
> That is part of the nice stuff the profile mode can do.
>
> François
>


Re: profile mode: statistics for vector and map

2013-05-24 Thread Gedare Bloom
On Fri, May 24, 2013 at 11:26 AM, Jonathan Wakely  wrote:
> On 24 May 2013 16:20, Gedare Bloom wrote:
>> Updated patch attached to address the comments. I was not able to
>> figure out how to build the libstdc++ documentation to verify my doc
>> changes although I did run xmllint successfully.
>
> Did you see 
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_hacking.html#doc.docbook
> ?
Yes. I could not resolve errors dealing with some of the xml/xsl
processing, like "cannot parse /xhtml/chunk.xsl".