# std::clock_t

> C++ Atlas: `cppatlas.com/w/cpp/chrono/c/clock_t` | Source: https://en.cppreference.com/w/cpp/chrono/c/clock_t | Domain: Date and time utilities

Arithmetic type capable of representing the process running time of implementation-defined range and precision.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <ctime>
typedef /* unspecified */ clock_t;
```

Arithmetic type capable of representing the process running time of implementation-defined range and precision.

### See also

- [`clock`](https://en.cppreference.com/w/cpp/chrono/c/clock): returns raw processor clock time since the program is started (function)
- [`CLOCKS_PER_SEC`](https://en.cppreference.com/w/cpp/chrono/c/CLOCKS_PER_SEC): number of processor clock ticks per second (macro constant)
- [C documentation for `clock_t`](https://en.cppreference.com/w/c/chrono/clock_t)

---
Attribution: content from https://en.cppreference.com/w/cpp/chrono/c/clock_t (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.