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.37 2008-11-26 09:31:06 Isibaar Exp $ |
* $Id: xvid_bench.c,v 1.38 2008-11-26 23:37:28 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
413 |
|
|
414 |
t = gettime_usec(); |
t = gettime_usec(); |
415 |
emms(); |
emms(); |
416 |
|
for(tst=0; tst<nb_tests; ++tst) s = sad8bi(Cur, Ref1, Ref2, 8); |
417 |
|
emms(); |
418 |
|
t = (gettime_usec() - t) / nb_tests; |
419 |
|
printf( "%s - sad8bi %.3f usec sad=%d %s\n", |
420 |
|
cpu->name, t, s, |
421 |
|
(s!=4002)?"| ERROR": "" ); |
422 |
|
|
423 |
|
t = gettime_usec(); |
424 |
|
emms(); |
425 |
for(tst=0; tst<nb_tests; ++tst) s = dev16(Cur, 16); |
for(tst=0; tst<nb_tests; ++tst) s = dev16(Cur, 16); |
426 |
emms(); |
emms(); |
427 |
t = (gettime_usec() - t) / nb_tests; |
t = (gettime_usec() - t) / nb_tests; |