mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Updates #15756 Updates #19822 Change-Id: I98b17dcbbfd80e7e164b0523185382175fe2d89b Reviewed-on: https://go-review.googlesource.com/39554 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
13 lines
274 B
Go
13 lines
274 B
Go
// Copyright 2017 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.
|
|
|
|
// +build go1.8
|
|
|
|
package gc
|
|
|
|
import "runtime"
|
|
|
|
func startMutexProfiling() {
|
|
runtime.SetMutexProfileFraction(1)
|
|
}
|