[Question about GCC flags]

釵u傑 r95081@csie.ntu.edu.tw
Wed Nov 1 13:40:00 GMT 2006


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)



More information about the Gcc-help mailing list