fix(deps): update module github.com/opencontainers/cgroups to v0.0.2

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-04-28 18:19:46 +00:00
committed by GitHub
parent a2d542df37
commit 6c9f378a9b
15 changed files with 141 additions and 78 deletions

View File

@@ -108,6 +108,12 @@ func statCpu(dirPath string, stats *cgroups.Stats) error {
case "throttled_usec":
stats.CpuStats.ThrottlingData.ThrottledTime = v * 1000
case "nr_bursts":
stats.CpuStats.BurstData.BurstsPeriods = v
case "burst_usec":
stats.CpuStats.BurstData.BurstTime = v * 1000
}
}
if err := sc.Err(); err != nil {