clock_t - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# clock_t

From cppreference.com
< c‎ | chrono

Defined in header `<time.h>` |  |
typedef /* unspecified */ clock_t; |  |

Arithmetic (until C11)Real (since C11) type capable of representing the processor time used by a process. It has implementation-defined range and precision.

### [edit] References

- C11 standard (ISO/IEC 9899:2011):

  - 7.27.1/3 Components of time (p: 388)

- C99 standard (ISO/IEC 9899:1999):

  - 7.23.1/3 Components of time (p: 338)

- C89/C90 standard (ISO/IEC 9899:1990):

  - 4.12.1 Components of time

### [edit] See also

clock | returns raw processor clock time since the program is started (function) [edit]
CLOCKS_PER_SEC | number of processor clock ticks per second (macro constant) [edit]
C++ documentation for clock_t

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/chrono/clock_t&oldid=78093"