mirror of
https://github.com/golang/go
synced 2024-11-19 20:54:39 -07:00
aabbcda816
R=golang-dev CC=golang-dev https://golang.org/cl/5756044
20 lines
343 B
C
20 lines
343 B
C
// Copyright 2010 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
#include "runtime.h"
|
|
|
|
void
|
|
runtime·sigenable(uint32 sig)
|
|
{
|
|
USED(sig);
|
|
}
|
|
|
|
void
|
|
runtime·resetcpuprofiler(int32 hz)
|
|
{
|
|
// TODO: Enable profiling interrupts.
|
|
|
|
m->profilehz = hz;
|
|
}
|