Home
last modified time | relevance | path

Searched refs:cpu_info (Results 1 – 10 of 10) sorted by relevance

/external/chromium/base/
Dcpu.cc40 void __cpuid(int cpu_info[4], int info_type) { in __cpuid()
45 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid()
50 void __cpuidex(int cpu_info[4], int info_type, int info_index) { in __cpuidex()
55 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuidex()
62 void __cpuid(int cpu_info[4], int info_type) { in __cpuid()
65 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuid()
70 void __cpuidex(int cpu_info[4], int info_type, int info_index) { in __cpuidex()
73 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in __cpuidex()
84 int cpu_info[4] = {-1}; in Initialize() local
95 __cpuid(cpu_info, 0); in Initialize()
[all …]
/external/webrtc/src/system_wrappers/source/
Dcpu_features.cc21 static inline void cpuid(int cpu_info[4], int info_type) { in cpuid()
26 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in cpuid()
30 static inline void cpuid(int cpu_info[4], int info_type) { in cpuid()
33 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in cpuid()
41 int cpu_info[4]; in GetCPUInfo() local
42 cpuid(cpu_info, 1); in GetCPUInfo()
44 return 0 != (cpu_info[3] & 0x04000000); in GetCPUInfo()
47 return 0 != (cpu_info[2] & 0x00000001); in GetCPUInfo()
/external/opencv/cxcore/src/
Dcxswitcher.cpp107 icvInitProcessorInfo( CvProcessorInfo* cpu_info ) in icvInitProcessorInfo() argument
109 memset( cpu_info, 0, sizeof(*cpu_info) ); in icvInitProcessorInfo()
110 cpu_info->model = CV_PROC_GENERIC; in icvInitProcessorInfo()
134 cpu_info->count = (int)sys.dwNumberOfProcessors; in icvInitProcessorInfo()
141 cpu_info->frequency = (double)val; in icvInitProcessorInfo()
199 cpu_info->model = id == ICV_CPUID_W7 ? CV_PROC_IA32_WITH_SSE2 : in icvInitProcessorInfo()
208 cpu_info->model = CV_PROC_EM64T; in icvInitProcessorInfo()
211 cpu_info->model = CV_PROC_IA64; in icvInitProcessorInfo()
214 cpu_info->frequency = (double)freq.QuadPart; in icvInitProcessorInfo()
217 cpu_info->frequency = 1; in icvInitProcessorInfo()
[all …]
/external/skia/src/opts/
Dopts_check_SSE2.cpp61 int cpu_info[4] = { 0 }; in hasSSE2() local
62 getcpuid(1, cpu_info); in hasSSE2()
63 return (cpu_info[3] & (1<<26)) != 0; in hasSSE2()
/external/webp/src/dec/
Ddsp.c694 static inline void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
699 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo()
703 static inline void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
706 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo()
715 int cpu_info[4]; in x86CPUInfo() local
716 GetCPUInfo(cpu_info, 1); in x86CPUInfo()
718 return 0 != (cpu_info[3] & 0x04000000); in x86CPUInfo()
721 return 0 != (cpu_info[2] & 0x00000001); in x86CPUInfo()
/external/webp/src/enc/
Ddsp.c673 static inline void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
678 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo()
682 static inline void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
685 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo()
694 int cpu_info[4]; in x86CPUInfo() local
695 GetCPUInfo(cpu_info, 1); in x86CPUInfo()
697 return 0 != (cpu_info[3] & 0x04000000); in x86CPUInfo()
700 return 0 != (cpu_info[2] & 0x00000001); in x86CPUInfo()
/external/oprofile/libpp/
Dxml_utils.h45 std::string const & cpu_info,
Dxml_utils.cpp246 string const & cpu_info, string const & events) in output_xml_header() argument
261 cout << cpu_info; in output_xml_header()
/external/kernel-headers/original/asm-x86/
Dprocessor_32.h107 DECLARE_PER_CPU(struct cpuinfo_x86, cpu_info);
108 #define cpu_data(cpu) per_cpu(cpu_info, cpu)
/external/flac/libFLAC/
Dbitreader.c149 FLAC__CPUInfo cpu_info; member
267 if(br->cpu_info.type == FLAC__CPUINFO_TYPE_IA32 && br->cpu_info.data.ia32.bswap) { in bitreader_read_from_client_()
338 br->cpu_info = cpu; in FLAC__bitreader_init()