diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-07 01:55:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-07 01:55:49 +0000 |
commit | c19bd769205d1847639eaddcd897058d8b7218da (patch) | |
tree | 7ab76111168396659b37399467b30967769e1abc /libgo/go | |
parent | 598fd331d0ea4bb6435d1045ff6c219f098db1a7 (diff) | |
download | gcc-c19bd769205d1847639eaddcd897058d8b7218da.zip gcc-c19bd769205d1847639eaddcd897058d8b7218da.tar.gz gcc-c19bd769205d1847639eaddcd897058d8b7218da.tar.bz2 |
libgo: Add back tests of syscall time.
From-SVN: r182075
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/runtime/export_test.go | 7 | ||||
-rw-r--r-- | libgo/go/runtime/proc_test.go | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/libgo/go/runtime/export_test.go b/libgo/go/runtime/export_test.go index eb7a445..c603e1b 100644 --- a/libgo/go/runtime/export_test.go +++ b/libgo/go/runtime/export_test.go @@ -18,11 +18,8 @@ var F64toint = f64toint func entersyscall() func exitsyscall() -func LockedOSThread() bool - -/* Useless for gccgo. +func golockedOSThread() bool var Entersyscall = entersyscall var Exitsyscall = exitsyscall - -*/ +var LockedOSThread = golockedOSThread diff --git a/libgo/go/runtime/proc_test.go b/libgo/go/runtime/proc_test.go index 1d20a58..3211108 100644 --- a/libgo/go/runtime/proc_test.go +++ b/libgo/go/runtime/proc_test.go @@ -74,8 +74,6 @@ func BenchmarkStackGrowth(b *testing.B) { } } -/* These benchmarks are meaningless for gccgo. - func BenchmarkSyscall(b *testing.B) { const CallsPerSched = 1000 procs := runtime.GOMAXPROCS(-1) @@ -125,5 +123,3 @@ func BenchmarkSyscallWork(b *testing.B) { <-c } } - -*/ |