summaryrefslogtreecommitdiff
path: root/src/runtime/mprof.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-09-09 14:32:53 -0700
committerKeith Randall <khr@golang.org>2014-09-09 14:32:53 -0700
commitc6cd0b3047aa3cb22482c12701b31a817df85316 (patch)
tree81b0aef6eb941160731ba278a9a554adce01ba40 /src/runtime/mprof.go
parentc13a6229b6de5d3edf370d5e9c7f847cd2be05c9 (diff)
downloadgo-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.go3
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