Re: [PATCH v4 6/6] perf stat: implement --big-num grouping

2012-10-21 Thread Ingo Molnar
* Christoph Hellwig wrote: > On Tue, Oct 16, 2012 at 02:33:40AM +0300, Irina Tirdea wrote: > > From: Irina Tirdea > > > > In glibc, printf supports ' to group numbers with thousands' > > grouping characters. Bionic does not support ' for printf. > > > > Implement thousands's grouping for num

Re: [PATCH v4 6/6] perf stat: implement --big-num grouping

2012-10-16 Thread Christoph Hellwig
On Tue, Oct 16, 2012 at 02:33:40AM +0300, Irina Tirdea wrote: > From: Irina Tirdea > > In glibc, printf supports ' to group numbers with thousands' grouping > characters. Bionic does not support ' for printf. > > Implement thousands's grouping for numbers according to locale. > The implementatio

[PATCH v4 6/6] perf stat: implement --big-num grouping

2012-10-15 Thread Irina Tirdea
From: Irina Tirdea In glibc, printf supports ' to group numbers with thousands' grouping characters. Bionic does not support ' for printf. Implement thousands's grouping for numbers according to locale. The implementation uses the algorithm from glibc (http://www.gnu.org/software/libc/). Bionic