mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
615 B
Go
38 lines
615 B
Go
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
// cgo -godefs types_openbsd.go
|
|
|
|
package disk
|
|
|
|
const (
|
|
devstat_NO_DATA = 0x00
|
|
devstat_READ = 0x01
|
|
devstat_WRITE = 0x02
|
|
devstat_FREE = 0x03
|
|
)
|
|
|
|
const (
|
|
sizeOfDiskstats = 0x70
|
|
)
|
|
|
|
type Diskstats struct {
|
|
Name [16]int8
|
|
Busy int32
|
|
Pad_cgo_0 [4]byte
|
|
Rxfer uint64
|
|
Wxfer uint64
|
|
Seek uint64
|
|
Rbytes uint64
|
|
Wbytes uint64
|
|
Attachtime Timeval
|
|
Timestamp Timeval
|
|
Time Timeval
|
|
}
|
|
type Timeval struct {
|
|
Sec int64
|
|
Usec int64
|
|
}
|
|
|
|
type Diskstat struct{}
|
|
type bintime struct{}
|