[Ilugc] How to callculate the memory occupied by a c program when it is executing
- From: mbhangui@xxxxxxxxx (Manvendra Bhangui)
- Date: Wed Sep 30 23:15:18 2009
On Wed, 2009-09-30 at 05:40 +0000, Balachandar wrote:
HI luggies,
I have some optimized c code snippets. I want to know how much memory it
takes before and after optimization.Is there any tool for it??
insert getrusage() in your code
man getrusage(2)
-- Manvendra Bhangui
http://www.indimail.org ;
Lonely men seek companionship. Lonely women sit at home and wait. They
never meet.
Other related posts: