-/* $Id: main.cc,v 1.13 1996/03/27 20:21:43 wessels Exp $ */
+/* $Id: main.cc,v 1.14 1996/03/28 02:34:04 wessels Exp $ */
#include "squid.h"
setMaxFD();
-#if USE_MALLOPT
+#if HAVE_MALLOPT
/* set malloc option */
/* use small block algorithm for faster allocation */
/* grain of small block */
-/* $Id: stat.cc,v 1.8 1996/03/27 18:15:53 wessels Exp $ */
+/* $Id: stat.cc,v 1.9 1996/03/28 02:34:04 wessels Exp $ */
#include "squid.h"
struct rusage rusage;
#endif
-#if USE_MALLINFO
+#if HAVE_MALLINFO
struct mallinfo mp;
#endif
#endif
-#if USE_MALLINFO
+#if HAVE_MALLINFO
mp = mallinfo();
sprintf(line, "{Memory usage for cached via mallinfo():}\n");
#endif /* LNG_MALLINFO */
-#endif /* USE_MALLINFO */
+#endif /* HAVE_MALLINFO */
sprintf(line, "{File descriptor usage for cached:}\n");
storeAppend(sentry, line, strlen(line));
-/* $Id: tools.cc,v 1.13 1996/03/27 20:21:11 wessels Exp $ */
+/* $Id: tools.cc,v 1.14 1996/03/28 02:34:05 wessels Exp $ */
#include "squid.h"
void dumpMallocStats(f)
FILE *f;
{
-#if USE_MALLINFO
+#if HAVE_MALLINFO
struct mallinfo mp;
if (!do_mallinfo)
#if PRINT_MMAP
mallocmap();
#endif /* PRINT_MMAP */
-#endif /* USE_MALLINFO */
+#endif /* HAVE_MALLINFO */
}
int PrintRusage(f, lf)
int getHeapSize()
{
-#if USE_MALLINFO
+#if HAVE_MALLINFO
struct mallinfo mp;
mp = mallinfo();