diff options
Diffstat (limited to 'src/runtime/export_test.go')
| -rw-r--r-- | src/runtime/export_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go index 4f6ef9a3f2..fb0bfd3904 100644 --- a/src/runtime/export_test.go +++ b/src/runtime/export_test.go @@ -273,6 +273,10 @@ func CountPagesInUse() (pagesInUse, counted uintptr) { return } +func Blocksampled(cycles, rate int64) bool { return blocksampled(cycles, rate) } + +func Cheaprand() uint32 { return cheaprand() } +func Cheaprand64() int64 { return cheaprand64() } func Fastrand() uint32 { return uint32(rand()) } func Fastrand64() uint64 { return rand() } func Fastrandn(n uint32) uint32 { return randn(n) } |
