[cfe-commits] [PATCH] Added some preprocessor memory usage stats to -cc1 -print-stats
Alexander Kornienko
alexfh at google.com
Mon Aug 13 03:48:02 PDT 2012
Committed as r161752.
On Fri, Aug 10, 2012 at 10:22 PM, Douglas Gregor <dgregor at apple.com> wrote:
> LGTM, thanks!
>
> - Doug
>
> On Aug 10, 2012, at 12:22 PM, Alexander Kornienko <alexfh at google.com>
> wrote:
>
> A minor patch. Need this to profile memory effect of upcoming changes to
> storage of macros. Outputs preprocessor memory usage as follows:
>
> Preprocessor Memory: 4977591B total
> BumpPtr: 4288512
> Macro Expanded Tokens: 417768
> Predefines Buffer: 8135
> Macros: 262144
> #pragma push_macro Info: 0
> Poison Reasons: 1024
> Comment Handlers: 8
>
> --
> Best regards,
> Alexander Kornienko
>
> <preprocessor-mem-stats.diff>
>
>
>
--
Best regards,
Alexander Kornienko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120813/3cd1827b/attachment.html>
More information about the cfe-commits
mailing list