This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: about memory on ecos
- From: Andrew Lunn <andrew at lunn dot ch>
- To: dengdd <dengdd at minigui dot org>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 26 Jul 2007 08:57:29 +0200
- Subject: Re: [ECOS] about memory on ecos
- References: <1185432049.14333.8.camel@localhost>
On Thu, Jul 26, 2007 at 02:40:49PM +0800, dengdd wrote:
> hi ,list
> I am just starting to learn to develop with eCos.
> i am working on hp ipaq 3630.
> Now, my application can run .
>
> I want to know how much memorys free on eCos when my application
> running. But i don't know how to do it.
> or know how much memorys my application used ?
mallinfo will tell you about the heap. If you are using eCos variable
of fixed size memory blocks, you can call cyg_mempool_var_get_info()
or cyg_mempool_fix_get_info().
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss