process: delete CPUPercent on the every architecture dependent part.

pull/43/merge
Shirou WAKAYAMA 10 years ago
parent 2093d43c2a
commit c61c09295c

@ -159,9 +159,6 @@ func (p *Process) Threads() (map[string]string, error) {
func (p *Process) CPUTimes() (*cpu.CPUTimesStat, error) {
return nil, common.NotImplementedError
}
func (p *Process) CPUPercent() (int32, error) {
return 0, common.NotImplementedError
}
func (p *Process) CPUAffinity() ([]int32, error) {
return nil, common.NotImplementedError
}

@ -144,9 +144,6 @@ func (p *Process) Threads() (map[string]string, error) {
func (p *Process) CPUTimes() (*cpu.CPUTimesStat, error) {
return nil, common.NotImplementedError
}
func (p *Process) CPUPercent() (int32, error) {
return 0, common.NotImplementedError
}
func (p *Process) CPUAffinity() ([]int32, error) {
return nil, common.NotImplementedError
}

@ -135,9 +135,6 @@ func (p *Process) Threads() (map[string]string, error) {
func (p *Process) CPUTimes() (*cpu.CPUTimesStat, error) {
return nil, common.NotImplementedError
}
func (p *Process) CPUPercent() (int32, error) {
return 0, common.NotImplementedError
}
func (p *Process) CPUAffinity() ([]int32, error) {
return nil, common.NotImplementedError
}

Loading…
Cancel
Save