Commit f5a6463e by Benjamin Kosnik Committed by Benjamin Kosnik

testsuite_performance.h (resource_counter): Don't use mallinfo at the moment.


2003-06-20  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/testsuite_performance.h (resource_counter): Don't use
	mallinfo at the moment.

From-SVN: r68268
parent b5adda73
2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_performance.h (resource_counter): Don't use
mallinfo at the moment.
2003-06-20 Matthias Klose <doko@debian.org> 2003-06-20 Matthias Klose <doko@debian.org>
* configure.host: Set try_cpu to target_cpu for existing * configure.host: Set try_cpu to target_cpu for existing
......
...@@ -107,7 +107,7 @@ namespace __gnu_cxx_test ...@@ -107,7 +107,7 @@ namespace __gnu_cxx_test
{ {
if (getrusage(who, &rusage_begin) != 0 ) if (getrusage(who, &rusage_begin) != 0 )
memset(&rusage_begin, 0, sizeof(rusage_begin)); memset(&rusage_begin, 0, sizeof(rusage_begin));
allocation_begin = mallinfo(); // allocation_begin = mallinfo();
} }
void void
...@@ -115,7 +115,7 @@ namespace __gnu_cxx_test ...@@ -115,7 +115,7 @@ namespace __gnu_cxx_test
{ {
if (getrusage(who, &rusage_end) != 0 ) if (getrusage(who, &rusage_end) != 0 )
memset(&rusage_end, 0, sizeof(rusage_end)); memset(&rusage_end, 0, sizeof(rusage_end));
allocation_end = mallinfo(); // allocation_end = mallinfo();
} }
int int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment