48 |
| Tracking space and time. | |
| Tracking space and time. | |
49 |
`--------------------------*/ |
`--------------------------*/ |
50 |
|
|
|
#if HAVE_MALLOC_H & HAVE_SYS_TIMES_H |
|
|
# include <malloc.h> |
|
|
# include <sys/times.h> |
|
|
#endif |
|
|
|
|
51 |
static void |
static void |
52 |
stage (const char *title) |
stage (const char *title) |
53 |
{ |
{ |
54 |
#if HAVE_MALLOC_H & HAVE_SYS_TIMES_H |
#if HAVE_MALLINFO && HAVE_STRUCT_MALLINFO & HAVE_TIMES & HAVE_STRUCT_TMS |
55 |
if (trace_flag) |
if (trace_flag & trace_resource) |
56 |
{ |
{ |
57 |
struct mallinfo minfo = mallinfo (); |
struct mallinfo minfo = mallinfo (); |
58 |
struct tms tinfo; |
struct tms tinfo; |
76 |
|
|
77 |
getargs (argc, argv); |
getargs (argc, argv); |
78 |
|
|
79 |
if (trace_flag) |
if (trace_flag & trace_bitsets) |
80 |
bitset_stats_enable (); |
bitset_stats_enable (); |
81 |
|
|
82 |
muscle_init (); |
muscle_init (); |
166 |
alloca (0); |
alloca (0); |
167 |
#endif |
#endif |
168 |
|
|
169 |
if (trace_flag) |
if (trace_flag & trace_bitsets) |
170 |
bitset_stats_dump (stderr); |
bitset_stats_dump (stderr); |
171 |
|
|
172 |
return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS; |
return complain_message_count ? EXIT_FAILURE : EXIT_SUCCESS; |