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_stat.c,v 1.12 2002-09-27 18:35:35 edgomez Exp $ |
* $Id: xvid_stat.c,v 1.13 2002-09-27 20:58:02 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
558 |
#ifndef _MSC_VER |
#ifndef _MSC_VER |
559 |
struct timeval tv; |
struct timeval tv; |
560 |
gettimeofday(&tv, 0); |
gettimeofday(&tv, 0); |
561 |
return tv.tv_sec*10e3 + tv.tv_usec * 1.0e-3; |
return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3; |
562 |
#else |
#else |
563 |
clock_t clk; |
clock_t clk; |
564 |
clk = clock(); |
clk = clock(); |