зеркало из https://github.com/golang/benchmarks.git
26 строки
569 B
Go
26 строки
569 B
Go
// Copyright 2013 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.
|
|
|
|
//go:build aix || dragonfly || freebsd || netbsd || openbsd || solaris || wasm
|
|
|
|
package driver
|
|
|
|
const rssMultiplier = 1
|
|
|
|
func RunUnderProfiler(args ...string) (string, string) {
|
|
return "", ""
|
|
}
|
|
|
|
// Size runs size command on the file. Returns filename with output. Any errors are ignored.
|
|
func Size(file string) string {
|
|
return ""
|
|
}
|
|
|
|
func getVMPeak() uint64 {
|
|
return 0
|
|
}
|
|
|
|
func setProcessAffinity(v int) {
|
|
}
|