aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/debug/stubs.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/debug/stubs.go')
-rw-r--r--libgo/go/runtime/debug/stubs.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/libgo/go/runtime/debug/stubs.go b/libgo/go/runtime/debug/stubs.go
new file mode 100644
index 0000000..2cba136
--- /dev/null
+++ b/libgo/go/runtime/debug/stubs.go
@@ -0,0 +1,17 @@
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package debug
+
+import (
+ "time"
+)
+
+// Implemented in package runtime.
+func readGCStats(*[]time.Duration)
+func freeOSMemory()
+func setMaxStack(int) int
+func setGCPercent(int32) int32
+func setPanicOnFault(bool) bool
+func setMaxThreads(int) int