The _lwp_info() function fills the lwpinfo structure pointed to by buffer with time-accounting information pertaining to the calling LWP. This call may be extended in the future to
return other information to the lwpinfo structure as needed. The lwpinfo structure in <sys/lwp.h> includes the following members:
|
timestruc_t lwp_utime;
timestruc_t lwp_stime;
|
The lwp_utime member is the CPU time used while executing instructions in the user space of the calling LWP.
The lwp_stime member is the CPU time used by the system on behalf of the calling LWP.
|