Return to utime.c CVS log | Up to [local] / OpenXM_contrib / TiGERS_0.9 |
File: [local] / OpenXM_contrib / TiGERS_0.9 / Attic / utime.c (download)
Revision 1.1.1.1 (vendor branch), Sat Nov 27 10:58:43 1999 UTC (24 years, 10 months ago) by maekawa
Import TiGERS 0.9 |
/* ** 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; }