memory profiling for C program

后端 未结 2 1707
盖世英雄少女心
盖世英雄少女心 2021-02-09 04:41

Need to do a memory profiling of my C application ..

It should include footprint size and a RAM size ...

for example if my application is like below ..



        
2条回答
  •  情话喂你
    2021-02-09 05:17

    This program is undefined: there is no main function.

    A compiler reserves the right not to compile anything in this case, so resulting in a zero footprint and memory size.

提交回复
热议问题