---
name: "MPE_Ptime"
section: "4"
platform: "linux"
package: "mpich"
version: "1.1.0-6"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/MPE_Ptime"
---

# MPE\_Ptime(4)

Returns process time stamp

## NAME

MPE\_Ptime -  Returns process time stamp

## SYNOPSIS

```
#include <stdio.h>
#include "mpe.h"
double MPE_Ptime()
```

## NOTES

This routine returns the CPU time charged to the process only if the PETSC package is available (it uses the PETSc routine 'SYGetCPUTime'). Otherwise, it returns 'MPI\_Wtime' (wall-clock time).

## LOCATION

timers.c
