Diff for /libelwix/src/mem.c between versions 1.4.18.3 and 1.4.18.4

version 1.4.18.3, 2015/06/25 16:49:33 version 1.4.18.4, 2015/06/25 16:59:50
Line 775  xdump_show(u_int size, u_int act, u_int inact) Line 775  xdump_show(u_int size, u_int act, u_int inact)
 /*  /*
  * mpool_xdump() - Dump elwix memory pool statistics   * mpool_xdump() - Dump elwix memory pool statistics
  *   *
    * @fmt = format string
  * return: none   * return: none
  */   */
 void  void
mpool_xdump()mpool_xdump(const char *fmt, ...)
 {  {
        printf("\n%s(%d)\n------------------------------------------------------------\n"        va_list lst;
                        __func__, __LINE__);
         if (fmt) {
                 va_start(lst, fmt);
                 vprintf(fmt, lst);
                 va_end(lst);
         } else
                 printf("\n%s(%d)\n", __func__, __LINE__);
 
         printf("------------------------------------------------------------\n");
         printf( " ELWIX memory pool ::\n"          printf( " ELWIX memory pool ::\n"
                 "\t- quotas Current/Real/Max = %lu/%lu/%lu\n"                  "\t- quotas Current/Real/Max = %lu/%lu/%lu\n"
                 "\t- calls Alloc/Free/Cache = %lu/%lu/%lu\n"                  "\t- calls Alloc/Free/Cache = %lu/%lu/%lu\n"

Removed from v.1.4.18.3  
changed lines
  Added in v.1.4.18.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>