PR_GET_TIMING(2const) PR_GET_TIMING(2const)

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_SET_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)

2024-06-02 Linux man-pages 6.9.1