| www.delorie.com/djgpp/doc/libc-2.01/libc_91.html | search |
#include <time.h> clock_t clock(void);
This function returns the number of clock ticks since an arbitrary time,
actually, since the first call to clock, which itself returns
zero. The number of tics per second is CLOCKS_PER_SEC.
The number of tics.
printf("%d seconds have elapsed\n", clock()/CLOCKS_PER_SEC);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |