Changeset 1918 for trunk/src/kmk/file.c


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/file.c

    r1915 r1918  
    12591259}
    12601260
     1261#ifdef CONFIG_WITH_PRINT_STATS_SWITCH
     1262void
     1263print_file_stats (void)
     1264{
     1265  fputs (_("\n# files hash-table stats:\n# "), stdout);
     1266  hash_print_stats (&files, stdout);
     1267  fputs ("\n", stdout);
     1268}
     1269#endif
     1270
    12611271
    12621272/* Verify the integrity of the data base of files.  */
Note: See TracChangeset for help on using the changeset viewer.