delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/05/07:37:46

Date: Sun, 5 Dec 1999 12:58:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Francisco Pastor <Francisco DOT Pastor AT uv DOT es>
cc: djgpp AT delorie DOT com
Subject: Re: Dinamic memory statistics function.
In-Reply-To: <82375u$4jv$1@diana.bcn.ttd.net>
Message-ID: <Pine.SUN.3.91.991205125743.11787D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 1 Dec 1999, Francisco Pastor wrote:

> In the C library of the djgpp v2.01 exist the function _mstats(char* buffer)
> to get a report about the memory statistics, very usefull for me to test the
> dinamic memory usage in my programs.
> 
> Please, some body know if there is a simular function in djgpp v2.02 with
> the new malloc/free/realloc funcions?

No, there's no _mstats in v2.02 (and in v2.01, _mstats required to
recompile the sources fore malloc).

However, it should be very easy to change _mstats so that it works
with v2.02's version of malloc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019