Skip to content

Commit

Permalink
[cpu][netbsd] Fix "undefined: cpuTimes" error at compile time on arm
Browse files Browse the repository at this point in the history
Fixes #1645
  • Loading branch information
Lomanic committed Oct 8, 2024
1 parent 45e3591 commit c37a5eb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cpu/cpu_netbsd_arm.go
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c37a5eb

Please sign in to comment.