diff options
author | Keith Randall <khr@golang.org> | 2014-09-09 14:32:53 -0700 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2014-09-09 14:32:53 -0700 |
commit | c6cd0b3047aa3cb22482c12701b31a817df85316 (patch) | |
tree | 81b0aef6eb941160731ba278a9a554adce01ba40 /src/runtime/mprof.go | |
parent | c13a6229b6de5d3edf370d5e9c7f847cd2be05c9 (diff) | |
download | go-c6cd0b3047aa3cb22482c12701b31a817df85316.tar.gz |
runtime: more cleanups
Move timenow thunk into time.s
Move declarations for generic c/asm services into stubs.go
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/137360043
Diffstat (limited to 'src/runtime/mprof.go')
-rw-r--r-- | src/runtime/mprof.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/mprof.go b/src/runtime/mprof.go index 7177c8459..89e991523 100644 --- a/src/runtime/mprof.go +++ b/src/runtime/mprof.go @@ -295,9 +295,6 @@ func SetBlockProfileRate(rate int) { atomicstore64(&blockprofilerate, uint64(r)) } -func fastrand1() uint32 // assembly -func readgstatus(*g) uint32 // proc.c - func blockevent(cycles int64, skip int) { if cycles <= 0 { return |