Jump to content

Clock (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mayuri.sandhanshiv (talk | contribs) at 09:01, 15 September 2011 (Created page with '===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 i...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.