OLD | NEW |
1 // Copyright 2010 The Go Authors. All rights reserved. | 1 // Copyright 2010 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file.· | 3 // license that can be found in the LICENSE file.· |
4 | 4 |
5 #include "runtime.h" | 5 #include "runtime.h" |
6 #include "defs_GOOS_GOARCH.h" | 6 #include "defs_GOOS_GOARCH.h" |
7 #include "os_GOOS.h" | 7 #include "os_GOOS.h" |
8 #include "signals_GOOS.h" | 8 #include "signals_GOOS.h" |
9 | 9 |
10 void | 10 void |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 USED(sig); | 118 USED(sig); |
119 } | 119 } |
120 | 120 |
121 void | 121 void |
122 runtime·resetcpuprofiler(int32 hz) | 122 runtime·resetcpuprofiler(int32 hz) |
123 { | 123 { |
124 // TODO: Enable profiling interrupts. | 124 // TODO: Enable profiling interrupts. |
125 ········ | 125 ········ |
126 m->profilehz = hz; | 126 m->profilehz = hz; |
127 } | 127 } |
OLD | NEW |