Ignore:
Timestamp:
Oct 23, 2008, 11:27:11 PM (17 years ago)
Author:
bird
Message:

kmk: New switch --print-stats which will print variable, file, strcache, allocation and heap statistics.

File:
1 edited

Legend:

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

    r1915 r1918  
    22932293}
    22942294
     2295#ifdef CONFIG_WITH_PRINT_STATS_SWITCH
     2296void
     2297print_variable_stats (void)
     2298{
     2299  fputs (_("\n# Global variable hash-table stats:\n# "), stdout);
     2300  hash_print_stats (&global_variable_set.table, stdout);
     2301  fputs ("\n", stdout);
     2302}
     2303#endif
    22952304
    22962305/* Print all the local variables of FILE.  */
Note: See TracChangeset for help on using the changeset viewer.