MCPcopy Create free account
hub / github.com/containerd/cgroups / memoryThresholdEvent

Struct memoryThresholdEvent

cgroup1/memory.go:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type memoryThresholdEvent struct {
42 threshold uint64
43 swap bool
44}
45
46// MemoryThresholdEvent returns a new [MemoryEvent] representing the memory threshold set.
47// If swap is true, the event will be registered using memory.memsw.usage_in_bytes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected