This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Question about GCC flags]


hi~

I want to know how to set the flag in order to 

show the memory comsumption about my program like this

RTX           Number Bytes % Total
address       7       56     0.664
const_int     129     1032   12.239
const_double   21     336     3.985
const_vector   19      152    1.803
pc             1       8      0.095
reg            14      224    2.657
.
.
.
avg. entry 10.63 bytes (+/- 5.78)
longest entry 36

I have tried -fmem-report flag, but it show me the information

"Memory still allocated at the end of the compilation process".

Could you help me?

thx a lot!



--
Open WebMail Project (http://openwebmail.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]