[process] fix Document of CreatTime seconds -> milliseconds

pull/406/head
WAKAYAMA Shirou 8 years ago
parent 1da5000996
commit 5329f8ba79

@ -117,7 +117,7 @@ func (p *Process) CmdlineSlice() ([]string, error) {
return p.fillSliceFromCmdline() return p.fillSliceFromCmdline()
} }
// CreateTime returns created time of the process in seconds since the epoch, in UTC. // CreateTime returns created time of the process in milliseconds since the epoch, in UTC.
func (p *Process) CreateTime() (int64, error) { func (p *Process) CreateTime() (int64, error) {
_, _, _, createTime, _, err := p.fillFromStat() _, _, _, createTime, _, err := p.fillFromStat()
if err != nil { if err != nil {

Loading…
Cancel
Save