diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2014-09-02 00:14:22 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-02 00:14:22 -0400 |
| commit | ac49e6735bb3757a16816f7400ce823cd6fc8508 (patch) | |
| tree | e2ff90501cb6b2dd7ae66b05ffacc41434d5d20a /src/pkg/runtime/runtime.h | |
| parent | a19e638db27d6e03c9f0c0220a547f7ebd9e599a (diff) | |
| download | go-ac49e6735bb3757a16816f7400ce823cd6fc8508.tar.xz | |
runtime: convert cpuprof from C to Go
LGTM=dvyukov, rsc
R=golang-codereviews, dvyukov, rsc
CC=golang-codereviews
https://golang.org/cl/132440043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 6b909599ba..25303512b2 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -864,7 +864,7 @@ void runtime·freezetheworld(void); void runtime·unwindstack(G*, byte*); void runtime·sigprof(uint8 *pc, uint8 *sp, uint8 *lr, G *gp, M *mp); void runtime·resetcpuprofiler(int32); -void runtime·setcpuprofilerate(void(*)(uintptr*, int32), int32); +void runtime·setcpuprofilerate(int32); void runtime·usleep(uint32); int64 runtime·cputicks(void); int64 runtime·tickspersecond(void); |
