Clock (computing): Difference between revisions

Content deleted Content added
Reverted to revision 450753580 by The Elves Of Dunsimore: whoops wrong button. (TW)
 
Line 1:
#REDIRECT [[Clock signal]]
<!-- Please do not remove or change this AfD message until the issue is settled -->
{{Article for deletion/dated|page=Clock (computing)|timestamp=20110916042657|year=2011|month=September|day=16|substed=yes|help=off}}
<!-- For administrator use only: {{Old AfD multi|page=Clock (computing)|date=16 September 2011|result='''keep'''}} -->
<!-- End of AfD message, feel free to edit beyond this point -->
 
'''Clock''' is a library function which returns the number of clock pulses when the program starts.
The expression CLOCKS_PER_SEC states the relation between a clock pulse and a second.
 
The syntax of this function is:
clock_t clock (void);
 
Return value of this function:
This function returns the number of clock pulses elapsed when the program starts, else on failure,
it returns -1.