[svn] / branches / dev-api-4 / xvidcore / examples / xvid_stat.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/examples/xvid_stat.c

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

revision 729, Wed Dec 18 21:48:46 2002 UTC revision 860, Sun Feb 16 05:11:39 2003 UTC
# Line 19  Line 19 
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.18 2002-12-18 21:48:46 edgomez Exp $   * $Id: xvid_stat.c,v 1.21 2003-02-16 05:11:39 suxen_drol Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# 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;
# Line 853  Line 853 
853    
854          if(use_assembler) {          if(use_assembler) {
855    
856  #ifdef ARCH_IA64  #ifdef ARCH_IS_IA64
857                  xinit.cpu_flags = XVID_CPU_FORCE | XVID_CPU_IA64;                  xinit.cpu_flags = XVID_CPU_FORCE | XVID_CPU_IA64;
858  #else  #else
859                  xinit.cpu_flags = 0;                  xinit.cpu_flags = 0;

Legend:
Removed from v.729  
changed lines
  Added in v.860

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