1.2.1
by Michael Stapelberg
Import upstream version 1.1~hg20130304 |
1 |
// Copyright 2013 The Go Authors. All rights reserved.
|
2 |
// Use of this source code is governed by a BSD-style
|
|
3 |
// license that can be found in the LICENSE file.
|
|
4 |
||
5 |
package p2 |
|
6 |
||
7 |
import "runtime" |
|
8 |
||
9 |
func E() func() int { return runtime.NumCPU } |
|
10 |
||
11 |
func F() func() { return runtime.GC } |
|
12 |
||
13 |
func G() func() string { return runtime.GOROOT } |
|
14 |
||
15 |
func H() func() { return runtime.Gosched } |
|
16 |
||
17 |
func I() func() string { return runtime.Version } |