We recommend using Visual Studio 2017

CLOCKS_PER_SEC, CLK_TCK

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CLOCKS_PER_SEC, CLK_TCK.

Syntax

  
#include <time.h>  

The time in seconds is the value returned by the clock function, divided by CLOCKS_PER_SEC. CLK_TCK is equivalent, but considered obsolete.

clock
Global Constants

Show: