Page MenuHomeFreeBSD

Make get_proccess_cputime and get_thread_cputime public api
ClosedPublic

Authored by dchagin on Jan 23 2020, 7:13 PM.
Tags
None
Referenced Files
F125045802: D23340.diff
Sat, Aug 2, 8:12 PM
Unknown Object (File)
Tue, Jul 29, 6:17 AM
Unknown Object (File)
Mon, Jul 7, 5:41 AM
Unknown Object (File)
Jul 3 2025, 8:46 PM
Unknown Object (File)
Jun 20 2025, 4:42 AM
Unknown Object (File)
Jun 17 2025, 4:12 PM
Unknown Object (File)
Jun 8 2025, 6:47 AM
Unknown Object (File)
Jun 7 2025, 6:52 AM
Subscribers

Details

Summary

For code reuse in Linuxulator rename get_proccess_cputime() and get_thread_cputime() and add prototypes for it to <sys/syscallsubr.h>.
Fix whitespace nit while here.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29134
Build 27070: arc lint + arc unit

Event Timeline

It seems that both functions use process lock as a way to ensure that the process is not exiting under it. This should be asserted since functions become public interface.

This revision is now accepted and ready to land.Feb 3 2020, 6:12 PM