HomeFreeBSD

ruxreset: Add an inline function to reset all the stats in rusage_ext

Description

ruxreset: Add an inline function to reset all the stats in rusage_ext

Use it in proc0_post to reset per-process CPU usage.

Suggested by: olce
Reviewed by: olce, kib
Differential Revision: https://reviews.freebsd.org/D54049

(cherry picked from commit 3f8ed605dbd0ee211ce8fe59c0c072b916d6311c)

Details

Provenance
jhbAuthored on Dec 8 2025, 4:15 PM
Reviewer
olce
Differential Revision
D54049: ruxreset: Add an inline function to reset all the stats in rusage_ext
Parents
rG1a5539989e04: exports.5: Typo: "auomatically" => "automatically"
Branches
Unknown
Tags
Unknown