/demos/trunk/base/time.c |
---|
34,7 → 34,7 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
* |
* CVS : $Id: time.c,v 1.2 2005-01-08 14:31:38 pj Exp $ |
* CVS : $Id: time.c,v 1.1 2002-10-28 08:13:37 pj Exp $ |
* |
* Timer correctness test |
*/ |
60,7 → 60,7 |
if (TIMESPEC_A_LT_B(&t[0],&t[1])) { |
for (i=0; i<NT; i++) |
cprintf("%d %ld\n",i, t[i].tv_nsec); |
exit(0); |
sys_end(); |
} |
} while (t[0].tv_sec < 1); |