programming.nbk: Home | Index | Next Page: Code Vault | Previous Page: clock_t clock(void);


 CLOCKS_PER_SEC

Clock ticks per second

This macro expands to an expression representing the number of clock ticks in a second, as returned by the function clock.

Dividing a count of clock ticks by this expression yields the number of seconds.

CLK_TCK is an obsolete alias of this macro.


programming.nbk: Home | Index | Next Page: Code Vault | Previous Page: clock_t clock(void);


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time