예제 #1
0
/* =============================================================================
   Function:		Exit // local //
   Author:		Rammi
   Date:		08/19/1997

   Return:		---
   Parameter:		---

   Purpose:		Function called on exit
   ============================================================================= */
static void Exit(void)
{
#ifdef SILENT
  if (!Global.BlockCount) {
    return;
  }
#endif

  Rmalloc_stat("[atexit]");	/* show statistics */
}
예제 #2
0
파일: vogl_mem.cpp 프로젝트: Nicky-D/vogl
static void print_stats(const char *pFile_line)
{
    VOGL_ASSERT(g_heap_initialized);
    VOGL_NOTE_UNUSED(pFile_line);

#if VOGL_MALLOC_DEBUGGING
    lock_heap();
    Rmalloc_stat(pFile_line);
    unlock_heap();
#endif
}