---
name: "PR_GET_TIMING"
section: "2const"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/PR_GET_TIMING"
---

# PR\_GET\_TIMING(2const)

get the process timing mode

## NAME

PR\_GET\_TIMING - get the process timing mode

## LIBRARY

Standard C library (*libc*, *-lc*)

## SYNOPSIS

```
#include <linux/prctl.h>  /* Definition of PR_* constants */
#include <sys/prctl.h>
```

**int prctl(PR\_GET\_TIMING);**

## DESCRIPTION

Return which process timing method is currently in use.

## 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.

## STANDARDS

Linux.

## HISTORY

Linux 2.6.0.

## SEE ALSO

[**prctl**(2)](/prctl/2.md), [**PR\_SET\_TIMING**(2const)](/PR_SET_TIMING/2const.md)
