1
0
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:
Lomanic 2024-10-09 00:14:19 +02:00
parent 45e3591650
commit c37a5eba8c

10
cpu/cpu_netbsd_arm.go Normal file
View 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
}