...
Run Format

Source file src/runtime/debug/stubs.go

Documentation: runtime/debug

     1  // Copyright 2014 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package debug
     6  
     7  import (
     8  	"time"
     9  )
    10  
    11  // Implemented in package runtime.
    12  func readGCStats(*[]time.Duration)
    13  func freeOSMemory()
    14  func setMaxStack(int) int
    15  func setGCPercent(int32) int32
    16  func setPanicOnFault(bool) bool
    17  func setMaxThreads(int) int
    18  

View as plain text