[v3] testsuite_performance tweak
Benjamin Kosnik
bkoz@redhat.com
Fri Jun 20 15:49:00 GMT 2003
Turns off all memory bits, not just the summary.
tested x86/linux
2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_performance.h (resource_counter): Don't use
mallinfo at the moment.
Index: testsuite/testsuite_performance.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/testsuite_performance.h,v
retrieving revision 1.1
diff -c -p -r1.1 testsuite_performance.h
*** testsuite/testsuite_performance.h 19 Jun 2003 04:00:59 -0000 1.1
--- testsuite/testsuite_performance.h 20 Jun 2003 15:24:46 -0000
*************** namespace __gnu_cxx_test
*** 107,113 ****
{
if (getrusage(who, &rusage_begin) != 0 )
memset(&rusage_begin, 0, sizeof(rusage_begin));
! allocation_begin = mallinfo();
}
void
--- 107,113 ----
{
if (getrusage(who, &rusage_begin) != 0 )
memset(&rusage_begin, 0, sizeof(rusage_begin));
! // allocation_begin = mallinfo();
}
void
*************** namespace __gnu_cxx_test
*** 115,121 ****
{
if (getrusage(who, &rusage_end) != 0 )
memset(&rusage_end, 0, sizeof(rusage_end));
! allocation_end = mallinfo();
}
int
--- 115,121 ----
{
if (getrusage(who, &rusage_end) != 0 )
memset(&rusage_end, 0, sizeof(rusage_end));
! // allocation_end = mallinfo();
}
int
More information about the Gcc-patches
mailing list