go/misc
Dave Cheney d073677569 cgo/misc/test: burn CPU to improve sleep accuracy
Fixes #4008.

Run a background goroutine that wastes CPU to trick the
power management into raising the CPU frequency which,
by side effect, makes sleep more accurate on arm.

=== RUN TestParallelSleep
--- PASS: TestParallelSleep (1.30 seconds)
_cgo_gotypes.go:772:    sleep(1) slept for 1.000458s

R=minux.ma, r
CC=golang-dev
https://golang.org/cl/6498060
2012-08-31 20:17:59 +10:00
..
IntelliJIDEA
arm
bash
bbedit
cgo cgo/misc/test: burn CPU to improve sleep accuracy 2012-08-31 20:17:59 +10:00
chrome/gophertool misc/chrome/gophertool: fix manifest 2012-07-05 16:52:13 -04:00
dashboard misc/dashboard/codereview: fixes for non-reviewers. 2012-08-08 13:16:21 +10:00
dist
emacs
fraise
goplay
kate
notepadplus
osx
swig cmd/go, go/build, misc/swig: add SWIG support to Go tool 2012-08-03 18:08:43 -07:00
vim misc/vim: fix for autocompletion 2012-08-28 03:59:16 +08:00
xcode
zsh
benchcmp
pprof pprof: make it work on windows again 2012-08-18 17:03:32 +10:00