refactor(agent): avoid deprecated CPU time total helper
refactor(agent): avoid deprecated CPU time total helper: a task in github-trending-environments-10k (Harbor dataset). Title: refactor(agent): avoid deprecated CPU time total helper
The task
**Title:** refactor(agent): avoid deprecated CPU time total helper