PR_GET_TIMING - get the process timing mode
Contents
Description
Return which process timing method is currently in use.
History
Linux 2.6.0.
Library
Standard C library (libc, -lc)
Name
PR_GET_TIMING - get the process timing mode
Return Value
On success, PR_GET_TIMING returns the nonnegative value described above. On error, -1 is returned, and
errno is set to indicate the error.
See Also
prctl(2), PR_SET_TIMING(2const)
Linux man-pages 6.9.1 2024-06-02 PR_GET_TIMING(2const)
Standards
Linux.
Synopsis
#include<linux/prctl.h> /* Definition of PR_* constants */
#include<sys/prctl.h>intprctl(PR_SET_TIMING);
