We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c54dbc commit f19b288Copy full SHA for f19b288
src/runtime/debug/garbage.go
@@ -0,0 +1,37 @@
1
+// Package debug is a very partially implemented package to allow compilation.
2
+package debug
3
+
4
+import (
5
+ "time"
6
+)
7
8
+type GCStats struct {
9
+ LastGC time.Time
10
+ NumGC int64
11
+ PauseTotal time.Duration
12
+ Pause []time.Duration
13
+ PauseEnd []time.Time
14
+ PauseQuantiles []time.Duration
15
+}
16
17
+func ReadGCStats(stats *GCStats) {
18
19
20
+func FreeOSMemory() {
21
22
23
+func SetMaxThreads(threads int) int {
24
+ return threads
25
26
27
+func SetPanicOnFault(enabled bool) bool {
28
+ return enabled
29
30
31
+func WriteHeapDump(fd uintptr)
32
33
+func SetTraceback(level string)
34
35
+func SetMemoryLimit(limit int64) int64 {
36
+ return limit
37
0 commit comments