mirror of
https://github.com/golang/go
synced 2024-10-05 00:21:21 -06:00
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;
|
||
|
}
|