[cvs] / xvidcore / examples / xvid_stat.c Repository:
ViewVC logotype

Diff of /xvidcore/examples/xvid_stat.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18, Wed Dec 18 21:48:46 2002 UTC revision 1.19, Sun Feb 9 19:32:52 2003 UTC
# Line 66  Line 66 
66  #include <stdlib.h>  #include <stdlib.h>
67  #include <string.h>  #include <string.h>
68  #include <math.h>  #include <math.h>
69  #ifndef _MSC_VER  #ifndef WIN32
70  #include <sys/time.h>  #include <sys/time.h>
71  #else  #else
72  #include <time.h>  #include <time.h>
# Line 637  Line 637 
637  /* Return time elapsed time in miliseconds since the program started */  /* Return time elapsed time in miliseconds since the program started */
638  static double msecond()  static double msecond()
639  {  {
640  #ifndef _MSC_VER  #ifndef WIN32
641          struct timeval  tv;          struct timeval  tv;
642          gettimeofday(&tv, 0);          gettimeofday(&tv, 0);
643          return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3;          return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4