66 |
{ |
{ |
67 |
struct timeval tv; |
struct timeval tv; |
68 |
gettimeofday(&tv, 0); |
gettimeofday(&tv, 0); |
69 |
return tv.tv_sec*1.0e6f + tv.tv_usec; |
return tv.tv_sec*1.0e6 + tv.tv_usec; |
70 |
} |
} |
71 |
|
|
72 |
/* returns squared deviates (mean(v*v)-mean(v)^2) of a 8x8 block */ |
/* returns squared deviates (mean(v*v)-mean(v)^2) of a 8x8 block */ |
101 |
, { "SSE2 ", XVID_CPU_SSE2 | XVID_CPU_MMX } |
, { "SSE2 ", XVID_CPU_SSE2 | XVID_CPU_MMX } |
102 |
, { "3DNOW ", XVID_CPU_3DNOW } |
, { "3DNOW ", XVID_CPU_3DNOW } |
103 |
, { "3DNOWE", XVID_CPU_3DNOWEXT } |
, { "3DNOWE", XVID_CPU_3DNOWEXT } |
104 |
|
|
105 |
//, { "TSC ", XVID_CPU_TSC } |
//, { "TSC ", XVID_CPU_TSC } |
106 |
, { 0, 0 } } |
, { 0, 0 } } |
107 |
|
|
109 |
{ { "PLAINC", 0 } |
{ { "PLAINC", 0 } |
110 |
, { "MMX ", XVID_CPU_MMX } |
, { "MMX ", XVID_CPU_MMX } |
111 |
, { "MMXEXT", XVID_CPU_MMXEXT | XVID_CPU_MMX } |
, { "MMXEXT", XVID_CPU_MMXEXT | XVID_CPU_MMX } |
112 |
|
, { "IA64 ", XVID_CPU_IA64 } |
113 |
, { 0, 0 } } |
, { 0, 0 } } |
114 |
|
|
115 |
, cpu_short_list2[] = |
, cpu_short_list2[] = |