Changeset 1864 for trunk/src/kmk/misc.c


Ignore:
Timestamp:
Oct 15, 2008, 3:00:57 AM (17 years ago)
Author:
bird
Message:

kmk: use alloc caches for variables, variable sets and varaible set lists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/misc.c

    r1863 r1864  
    12861286alloccache_print (struct alloccache *cache)
    12871287{
    1288   printf (_("\n# Alloc Cache: %s item size: %u  alloc: %d  total: %u\n"),
     1288  printf (_("\n# Alloc Cache: %s\n"
     1289              "#  Items: size = %-3u  in-use = %-6d  total = %-6u\n"),
    12891290          cache->name, cache->size, (int)cache->alloc_count, cache->total_count);
    12901291}
     
    12951296{
    12961297  struct alloccache *cur;
     1298  puts ("");
    12971299  for (cur = alloccache_head; cur; cur = cur->next)
    12981300    alloccache_print (cur);
Note: See TracChangeset for help on using the changeset viewer.