src/lib/mem_pool.c
void print_memory_pool_stats()
{
   Pmsg0(-1, "Pool   Maxsize  Maxused  Inuse\n");
   for (int i=0; i<=PM_MAX; i++)
      Pmsg4(-1, "%5s  %7d  %7d  %5d\n", pool_name(i), pool_ctl[i].max_allocated,
         pool_ctl[i].max_used, pool_ctl[i].in_use);

   Pmsg0(-1, "\n");
}
/* Print staticstics on memory pool usage
 */
Print staticstics on memory pool usage
Print staticstics on memory pool usage
void print_memory_pool_stats()
{
   Pmsg0(-1, "Pool   Maxsize  Maxused  Inuse\n");
   for (int i=0; i<=PM_MAX; i++)
      Pmsg4(-1, "%5s  %7d  %7d  %5d\n", pool_name(i), pool_ctl[i].max_allocated,
         pool_ctl[i].max_used, pool_ctl[i].in_use);
   Pmsg0(-1, "\n");
}
void print_memory_pool_stats ( ) { Pmsg0 ( -1 , " \n " ) ; for ( int i = 0 ; i <= PM_MAX ; i ++ ) Pmsg4 ( -1 , " \n " , pool_name ( i ) , pool_ctl [ i ] . max_allocated , pool_ctl [ i ] . max_used , pool_ctl [ i ] . in_use ) ; Pmsg0 ( -1 , " \n " ) ; }
Print staticstics on memory pool usage
Print staticstics on memory pool usage