Return to utime.c CVS log | Up to [local] / OpenXM / src / Ti |
File: [local] / OpenXM / src / Ti / Attic / utime.c (download)
Revision 1.1.1.1 (vendor branch), Fri Oct 8 02:12:13 1999 UTC (24 years, 11 months ago) by maekawa
o import OpenXM sources |
/* ** copyright (c) 1995 Birk Huber */ /* get user time * man 2 getrusage */ #include <math.h> #include <stdio.h> #include <time.h> #include "utime.h" int set_mark(){ return clock(); } int read_mark(int timeset){ return (clock()-timeset) / CLOCKS_PER_SEC; }