1N/A * See the file LICENSE for redistribution information. 1N/A * Copyright (c) 1996, 1997, 1998 1N/A * Sleepycat Software. All rights reserved. 1N/A#
endif /* not lint */ 1N/A * Display MPOOL statistics. 1N/A /* Allocate space for the global statistics. */ 1N/A /* Copy out the global statistics. */ 1N/A /* Count the MPOOLFILE structures. */ 1N/A /* Allocate space for the pointers. */ 1N/A /* Build each individual entry. */ 1N/A * On errors we print whatever is available as the file name. 1N/A * PUBLIC: char * __memp_fn __P((DB_MPOOLFILE *)); 1N/A * On errors we print whatever is available as the file name. 1N/A * PUBLIC: char * __memp_fns __P((DB_MPOOL *, MPOOLFILE *)); 1N/A return ((
char *)
"temporary");
1N/A * __memp_dump_region -- 1N/A * Display MPOOL structures. 1N/A * PUBLIC: void __memp_dump_region __P((DB_MPOOL *, char *, FILE *)); 1N/A /* Make it easy to call from the debugger. */ 1N/A /* Display MPOOL structures. */ 1N/A (
void)
fprintf(
fp,
"%s\nPool (region addr 0x%lx, alloc addr 0x%lx)\n",
1N/A /* Display the MPOOLFILE structures. */ 1N/A (
void)
fprintf(
fp,
"file #%d: %s: fd: %d: per-process, %s\n",
1N/A /* Display the hash table list of BH's. */ 1N/A "%s\nBH hash table (%lu hash slots)\npageno, file, ref, address\n",
1N/A /* Display the LRU list of BH's. */ 1N/A /* Flush in case we're debugging. */ 1N/A * Display a BH structure.