Re: -fmem-report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

A follow on question, if I may:

Whose string pool is this? The compilers or the program being
compiled? In other words, would a string literal in my code show up in
this pool?

4.3.2 on x86 gives for a small program:

String pool
entries		3004
identifiers	3004 (100.00%)
slots		16384
bytes		34k (4803  overhead)
table size	64k
coll/search	0.0695
ins/search	0.1855
avg. entry	11.93 bytes (+/- 6.49)
longest entry	42

The 100.00% in parens confuses me?

Thanks!

kevin

On Wed, Apr 13, 2011 at 5:27 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> kevin diggs <diggskevin38@xxxxxxxxx> writes:
>
>> What is the identifiers entry in the string pool section of the
>> report? This isn't variable and function names is it?
>
> Why isn't it?
>
> It is all identifiers seen while parsing the program, which does in fact
> include variable and function names.
>
> Ian
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux