Fix test_codec precision. The old version effectively rounded the decode time up...
commit1f353f39dba1b8bd95f923719a53b5ced8724f91
authoramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Sun, 23 Nov 2008 23:54:27 +0000 (23 23:54 +0000)
committeramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Sun, 23 Nov 2008 23:54:27 +0000 (23 23:54 +0000)
treee5e7c815e3e17b41bc380750374d975f76b9e6af
parentcaf4b892d64587a5a468b93404acd9a29d9cd0f7
Fix test_codec precision. The old version effectively rounded the decode time up to full seconds (because of the rb->sleep(HZ)), so speed results from before this revision were more or less too low and 'stepped', especially for fast codecs and short test tracks.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19193 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/test_codec.c