callback functionality for dyanmic memory allocation
Gary Thomas
gthomas@ecoscentric.com
Sat Nov 2 06:00:00 GMT 2002
On Fri, 2002-11-01 at 21:25, NavEcos wrote:
> The following patches allows a user to track:
>
> 1) heap creation
> 2) heap destruction
> 3) allocation/freeing of dynamic memory
> and
> 4) reallocation of dynamic memory (i.e. realloc functionality)
>
> Included is the CDL to control it. By default it is turned off. There will
> be a performance penalty to turn on the logging ability even if you do not
> use it since a pointer must be checked (the callback).
>
But surely not if it's disabled by CDL?
Also, how about writing a test or two? These are the best examples
we can provide the public of anything that gets added.
Thanks. (I'll let Jonathan comment on the patch as a whole)
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
More information about the Ecos-patches
mailing list