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
F83963192: D23340.id67711.diff
Fri, May 17, 11:32 AM
Unknown Object (File)
Sat, May 11, 11:29 PM
Unknown Object (File)
Fri, May 3, 1:29 AM
Unknown Object (File)
Apr 14 2024, 10:44 AM
Unknown Object (File)
Apr 14 2024, 9:55 AM
Unknown Object (File)
Apr 14 2024, 9:43 AM
Unknown Object (File)
Apr 14 2024, 7:45 AM
Unknown Object (File)
Apr 2 2024, 6:47 PM
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 28884
Build 26886: 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