Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d1a2c4d6
Commit
d1a2c4d6
authored
Jun 24, 2003
by
Loren J. Rittle
Committed by
Loren J. Rittle
Jun 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/testsuite_performance.h: Portability.
From-SVN: r68407
parent
3d57d7ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
libstdc++-v3/ChangeLog
+1
-0
libstdc++-v3/testsuite/testsuite_performance.h
+9
-0
No files found.
libstdc++-v3/ChangeLog
View file @
d1a2c4d6
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
* config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
* config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
* include/ext/mt_allocator.h: Portability.
* include/ext/mt_allocator.h: Portability.
* testsuite/testsuite_performance.h: Likewise.
2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
...
...
libstdc++-v3/testsuite/testsuite_performance.h
View file @
d1a2c4d6
...
@@ -33,7 +33,11 @@
...
@@ -33,7 +33,11 @@
#include <sys/times.h>
#include <sys/times.h>
#include <sys/resource.h>
#include <sys/resource.h>
#ifdef __FreeBSD__
#include <stdlib.h>
#else
#include <malloc.h>
#include <malloc.h>
#endif
#include <string>
#include <string>
#include <fstream>
#include <fstream>
#include <iomanip>
#include <iomanip>
...
@@ -81,6 +85,11 @@ namespace __gnu_cxx_test
...
@@ -81,6 +85,11 @@ namespace __gnu_cxx_test
{
return
tms_end
.
tms_stime
-
tms_begin
.
tms_stime
;
}
{
return
tms_end
.
tms_stime
-
tms_begin
.
tms_stime
;
}
};
};
#ifdef __FreeBSD__
struct
mallinfo
{
int
arena
;
};
int
mallinfo
(
void
)
{
return
0
;
}
#endif
class
resource_counter
class
resource_counter
{
{
int
who
;
int
who
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment