Hi, I am trying to add some profiling to a small rust application for multithreading perfomance testing.
getrusage from posix seems to be a perfect match for my use case.
I found an unsafe wrapper of getrusage from the libc wrapper library but with no much documentation. also the fact that it is qualified as unsafe does not really make me want to use it.
Is there any available similar function in Rust’s standard library, or in a crate ?