#ifndef ZoneInfo_H #define ZoneInfo_H /*============================== ZoneInfo.h ================================ Filename: ZoneInfo.h Description: Return key diagnostic info on any zone. Original Author: Dale M. Amon Revised by: $Author: amon $ Date: $Date: $ Version: $Revision: $ License: Copyright GPL, BSD and Immortal Data Inc. */ #import /*==========================================================================*/ struct ZoneInfo { size_t total; size_t used; size_t free; }; struct ZoneInfo ZoneInfo (NSZone *zone); BOOL isMallocZone (NSZone *zone); void ZoneInfoPrint (NSZone *zone); void ZoneInfoPrintAll (NSZone *zone); size_t ZoneInfoTotal (NSZone *zone); size_t ZoneInfoUsed (NSZone *zone); size_t ZoneInfoFree (NSZone *zone); /*==========================================================================*/ /* CVS HISTORY */ /*==========================================================================*/ /* $Log: $ 20180308 Dale Amon Created ZoneInfo module. */ #endif