PR_GET_TIMING − get the process timing mode
Standard C library (libc, −lc)
#include
<linux/prctl.h> /* Definition of PR_*
constants */
#include <sys/prctl.h>
int prctl(PR_GET_TIMING);
Return which process timing method is currently in use.
On success, PR_GET_TIMING returns the nonnegative value described above. On error, −1 is returned, and errno is set to indicate the error.
Linux.
Linux 2.6.0.
prctl(2), PR_SET_TIMING(2const)