mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-24 13:48:56 +08:00
[cpu][netbsd] Fix "undefined: cpuTimes" error at compile time on arm
Fixes #1645
This commit is contained in:
parent
45e3591650
commit
c37a5eba8c
10
cpu/cpu_netbsd_arm.go
Normal file
10
cpu/cpu_netbsd_arm.go
Normal file
@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
package cpu
|
||||
|
||||
type cpuTimes struct {
|
||||
User uint32
|
||||
Nice uint32
|
||||
Sys uint32
|
||||
Intr uint32
|
||||
Idle uint32
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user