---
name: "struct_cputime"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_cputime"
---

# struct\_cputime(9)

snaphsot of system and user cputime

## NAME

struct\_cputime - snaphsot of system and user cputime

## SYNOPSIS

```
struct cputime {
  cputime_t utime;
  cputime_t stime;
};
```

## MEMBERS

utime

time spent in user mode

stime

time spent in system mode

## DESCRIPTION

Gathers a generic snapshot of user and system time.

## COPYRIGHT
