Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RdtData ¶
type RdtData struct { Cores string IPC float64 Missees float64 LLC float64 MBL float64 MBR float64 Timestamp time.Time }
RdtData implements data collected from rdt tool
func StaticMonitor ¶
StaticMonitor monitor for the static duration, and output results monitors format, such as: all:[0,2,4-10] or all:0,2,4 if input like all:[0,2], will output:
CORE IPC MISSES LLC[KB] MBL[MB/s] MBR[MB/s] 0,2 0.55 12k 36176.0 47.8 1463.1
or will output
CORE IPC MISSES LLC[KB] MBL[MB/s] MBR[MB/s] 0 0.55 12k 36176.0 47.8 1463.1 2 0.55 12k 36176.0 47.8 1463.1
type RdtFeature ¶
type RdtFeature struct { MonitorLLC bool MonitorMBM bool MonitorIPC bool MonitorCacheMiss bool AllocateCAT bool }
RdtFeature show which feature supported
func SupportRdtFunction ¶
func SupportRdtFunction() *RdtFeature
SupportRdtFunction check which feature supported
Click to show internal directories.
Click to hide internal directories.