Commit c92d3552 authored by Russ Cox's avatar Russ Cox

os: point users of ProcessState.SysUsage to getrusage(2)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7352044
parent 6d888f1e
......@@ -79,6 +79,8 @@ func (p *ProcessState) Sys() interface{} {
// SysUsage returns system-dependent resource usage information about
// the exited process. Convert it to the appropriate underlying
// type, such as *syscall.Rusage on Unix, to access its contents.
// (On Unix, *syscall.Rusage matches struct rusage as defined in the
// getrusage(2) manual page.)
func (p *ProcessState) SysUsage() interface{} {
return p.sysUsage()
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment