19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid_bench.c,v 1.15 2005-01-05 23:02:15 edgomez Exp $ |
* $Id: xvid_bench.c,v 1.16 2005-04-18 08:31:42 Skal Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
81 |
#else |
#else |
82 |
clock_t clk; |
clock_t clk; |
83 |
clk = clock(); |
clk = clock(); |
84 |
return clk * 1000000 / CLOCKS_PER_SEC; |
return clk * 1000. / CLOCKS_PER_SEC; /* clock() returns time in Milliseconds */ |
85 |
#endif |
#endif |
86 |
} |
} |
87 |
|
|