Jump to content

Clock (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by The Elves Of Dunsimore (talk | contribs) at 09:08, 15 September 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

CLOCK

Syntax of the function 'clock':
#include<ctime>
clock_t clock(void);

As the program starts , this function returns the processor time. And if that information is unavailable , it returns value -1.