CLOCKS_PER_SEC - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# CLOCKS_PER_SEC

From cppreference.com
< cpp‎ | chrono‎ | c

Defined in header `<ctime>` |  |
#define CLOCKS_PER_SEC /*implementation defined*/ |  |

Expands to an expression (not necessarily a compile-time constant) of type std::clock_t equal to the number of clock ticks per second, as returned by std::clock().

### [edit] Notes

POSIX defines `CLOCKS_PER_SEC` as one million, regardless of the actual precision of std::clock().

### [edit] See also

clock | returns raw processor clock time since the program is started (function) [edit]
clock_t | process running time (typedef) [edit]
C documentation for CLOCKS_PER_SEC

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