Changeset 1915 for trunk/src/kmk/function.c
- Timestamp:
- Oct 22, 2008, 11:59:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r1863 r1915 3724 3724 #endif /* CONFIG_WITH_OS2_LIBPATH */ 3725 3725 3726 #if def CONFIG_WITH_MAKE_STATS3726 #if defined (CONFIG_WITH_MAKE_STATS) || defined (CONFIG_WITH_MINIMAL_STATS) 3727 3727 /* Retrieve make statistics. */ 3728 3728 static char * … … 3734 3734 if (!argv[0] || (!argv[0][0] && !argv[1])) 3735 3735 { 3736 # ifdef CONFIG_WITH_MAKE_STATS 3736 3737 len = sprintf (buf, "alloc-cur: %5ld %6luKB (/%3luMB) hash: %5lu %2lu%%", 3737 3738 make_stats_allocations, … … 3741 3742 (make_stats_ht_collisions * 100) / make_stats_ht_lookups); 3742 3743 o = variable_buffer_output (o, buf, len); 3744 #endif 3743 3745 } 3744 3746 else … … 3751 3753 if (i != 0) 3752 3754 o = variable_buffer_output (o, " ", 1); 3753 if (!strcmp(argv[i], "allocations")) 3755 if (0) 3756 continue; 3757 # ifdef CONFIG_WITH_MAKE_STATS 3758 else if (!strcmp(argv[i], "allocations")) 3754 3759 val = make_stats_allocations; 3755 3760 else if (!strcmp(argv[i], "allocated")) … … 3763 3768 else if (!strcmp(argv[i], "ht_collisions_pct")) 3764 3769 val = (make_stats_ht_collisions * 100) / make_stats_ht_lookups; 3770 #endif 3765 3771 else 3766 3772 { … … 3773 3779 } 3774 3780 } 3781 3775 3782 return o; 3776 3783 }
Note:
See TracChangeset
for help on using the changeset viewer.