mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
This updates vendored runc/libcontainer to 1.1.0, and google/cadvisor to a version updated to runc 1.1.0 (google/cadvisor#3048). Changes in vendor are generated by (roughly): ./hack/pin-dependency.sh github.com/google/cadvisor v0.44.0 ./hack/pin-dependency.sh github.com/opencontainers/runc v1.1.0 ./hack/update-vendor.sh ./hack/lint-dependencies.sh # And follow all its recommendations. ./hack/update-vendor.sh ./hack/update-internal-modules.sh ./hack/lint-dependencies.sh # Re-check everything again. Co-Authored-By: Kir Kolyshkin <kolyshkin@gmail.com>
58 lines
1.8 KiB
Go
58 lines
1.8 KiB
Go
package intelrdt
|
|
|
|
type L3CacheInfo struct {
|
|
CbmMask string `json:"cbm_mask,omitempty"`
|
|
MinCbmBits uint64 `json:"min_cbm_bits,omitempty"`
|
|
NumClosids uint64 `json:"num_closids,omitempty"`
|
|
}
|
|
|
|
type MemBwInfo struct {
|
|
BandwidthGran uint64 `json:"bandwidth_gran,omitempty"`
|
|
DelayLinear uint64 `json:"delay_linear,omitempty"`
|
|
MinBandwidth uint64 `json:"min_bandwidth,omitempty"`
|
|
NumClosids uint64 `json:"num_closids,omitempty"`
|
|
}
|
|
|
|
type MBMNumaNodeStats struct {
|
|
// The 'mbm_total_bytes' in 'container_id' group.
|
|
MBMTotalBytes uint64 `json:"mbm_total_bytes"`
|
|
|
|
// The 'mbm_local_bytes' in 'container_id' group.
|
|
MBMLocalBytes uint64 `json:"mbm_local_bytes"`
|
|
}
|
|
|
|
type CMTNumaNodeStats struct {
|
|
// The 'llc_occupancy' in 'container_id' group.
|
|
LLCOccupancy uint64 `json:"llc_occupancy"`
|
|
}
|
|
|
|
type Stats struct {
|
|
// The read-only L3 cache information
|
|
L3CacheInfo *L3CacheInfo `json:"l3_cache_info,omitempty"`
|
|
|
|
// The read-only L3 cache schema in root
|
|
L3CacheSchemaRoot string `json:"l3_cache_schema_root,omitempty"`
|
|
|
|
// The L3 cache schema in 'container_id' group
|
|
L3CacheSchema string `json:"l3_cache_schema,omitempty"`
|
|
|
|
// The read-only memory bandwidth information
|
|
MemBwInfo *MemBwInfo `json:"mem_bw_info,omitempty"`
|
|
|
|
// The read-only memory bandwidth schema in root
|
|
MemBwSchemaRoot string `json:"mem_bw_schema_root,omitempty"`
|
|
|
|
// The memory bandwidth schema in 'container_id' group
|
|
MemBwSchema string `json:"mem_bw_schema,omitempty"`
|
|
|
|
// The memory bandwidth monitoring statistics from NUMA nodes in 'container_id' group
|
|
MBMStats *[]MBMNumaNodeStats `json:"mbm_stats,omitempty"`
|
|
|
|
// The cache monitoring technology statistics from NUMA nodes in 'container_id' group
|
|
CMTStats *[]CMTNumaNodeStats `json:"cmt_stats,omitempty"`
|
|
}
|
|
|
|
func newStats() *Stats {
|
|
return &Stats{}
|
|
}
|