This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] testsuite_performance tweak


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]