2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afsconfig.h>
11 #include <afs/param.h>
18 struct timeval blat
[10], notmuch
;
19 unsigned int approx
[3];
21 approx
[0] = FT_ApproxTime();
23 notmuch
.tv_usec
= 300000;
24 for (i
= 0; i
< 5; i
++) {
25 FT_GetTimeOfDay(&blat
[i
], 0);
26 select(0, 0, 0, 0, ¬much
);
29 approx
[1] = FT_ApproxTime();
30 for (i
= 5; i
< 10; i
++)
31 FT_GetTimeOfDay(&blat
[i
], 0);
33 approx
[2] = FT_ApproxTime();
34 for (i
= 0; i
< 10; i
++)
35 printf("%u.%u\n", blat
[i
].tv_sec
, blat
[i
].tv_usec
);
36 printf("\n%u %u %u\n", approx
[0], approx
[1], approx
[2]);