forked from influxdata/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dto.go
37 lines (34 loc) · 825 Bytes
/
dto.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package intel_powerstat
type msrData struct {
mperf uint64
aperf uint64
timeStampCounter uint64
c3 uint64
c6 uint64
c7 uint64
throttleTemp uint64
temp uint64
mperfDelta uint64
aperfDelta uint64
timeStampCounterDelta uint64
c3Delta uint64
c6Delta uint64
c7Delta uint64
readDate int64
}
type raplData struct {
dramCurrentEnergy float64
socketCurrentEnergy float64
socketEnergy float64
dramEnergy float64
readDate int64
}
type cpuInfo struct {
physicalID string
coreID string
cpuID string
vendorID string
cpuFamily string
model string
flags string
}