diff --git a/process/process_darwin.go b/process/process_darwin.go index 67ad29b..837512c 100644 --- a/process/process_darwin.go +++ b/process/process_darwin.go @@ -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 } diff --git a/process/process_freebsd.go b/process/process_freebsd.go index 373aab5..5fce208 100644 --- a/process/process_freebsd.go +++ b/process/process_freebsd.go @@ -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 } diff --git a/process/process_windows.go b/process/process_windows.go index a6cbe79..436f16f 100644 --- a/process/process_windows.go +++ b/process/process_windows.go @@ -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 }