mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
Merge pull request #261 from monstermunchkin/issues/260
process: make `ClockTicks` arch-independent
This commit is contained in:
commit
5332238407
@ -26,7 +26,8 @@ var (
|
||||
)
|
||||
|
||||
const (
|
||||
PrioProcess = 0 // linux/resource.h
|
||||
PrioProcess = 0 // linux/resource.h
|
||||
ClockTicks = 100 // C.sysconf(C._SC_CLK_TCK)
|
||||
)
|
||||
|
||||
// MemoryInfoExStat is different between OSes
|
||||
|
@ -1,8 +0,0 @@
|
||||
// +build linux
|
||||
// +build 386
|
||||
|
||||
package process
|
||||
|
||||
const (
|
||||
ClockTicks = 100 // C.sysconf(C._SC_CLK_TCK)
|
||||
)
|
@ -1,8 +0,0 @@
|
||||
// +build linux
|
||||
// +build amd64
|
||||
|
||||
package process
|
||||
|
||||
const (
|
||||
ClockTicks = 100 // C.sysconf(C._SC_CLK_TCK)
|
||||
)
|
@ -1,8 +0,0 @@
|
||||
// +build linux
|
||||
// +build arm
|
||||
|
||||
package process
|
||||
|
||||
const (
|
||||
ClockTicks = 100 // C.sysconf(C._SC_CLK_TCK)
|
||||
)
|
@ -1,8 +0,0 @@
|
||||
// +build linux
|
||||
// +build arm64
|
||||
|
||||
package process
|
||||
|
||||
const (
|
||||
ClockTicks = 100 // C.sysconf(C._SC_CLK_TCK)
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user