/external/libchrome/base/ |
D | cpu.cc | 62 void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 67 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 68 "=d"(cpu_info[3]) in __cpuid() 74 void __cpuid(int cpu_info[4], int info_type) { 76 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), 77 "=d"(cpu_info[3]) 132 int cpu_info[4] = {-1}; in Initialize() local 137 char cpu_string[sizeof(cpu_info) * 3 + 1]; in Initialize() 146 __cpuid(cpu_info, 0); in Initialize() 147 int num_ids = cpu_info[0]; in Initialize() [all …]
|
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/ |
D | cpu.cc | 53 void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 58 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 59 "=d"(cpu_info[3]) in __cpuid() 65 void __cpuid(int cpu_info[4], int info_type) { 67 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), 68 "=d"(cpu_info[3]) 94 int cpu_info[4] = {-1}; in Initialize() local 103 __cpuid(cpu_info, 0); in Initialize() 104 int num_ids = cpu_info[0]; in Initialize() 105 std::swap(cpu_info[2], cpu_info[3]); in Initialize() [all …]
|
/external/libyuv/files/source/ |
D | cpu_id.cc | 49 void CpuId(int info_eax, int info_ecx, int* cpu_info) { in CpuId() argument 53 __cpuidex(cpu_info, info_eax, info_ecx); in CpuId() 58 mov edi, cpu_info in CpuId() 67 __cpuid(cpu_info, info_eax); in CpuId() 69 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0u; in CpuId() 87 cpu_info[0] = info_eax; in CpuId() 88 cpu_info[1] = info_ebx; in CpuId() 89 cpu_info[2] = info_ecx; in CpuId() 90 cpu_info[3] = info_edx; in CpuId() 95 void CpuId(int eax, int ecx, int* cpu_info) { in CpuId() argument [all …]
|
/external/libaom/third_party/libyuv/source/ |
D | cpu_id.cc | 49 void CpuId(int info_eax, int info_ecx, int* cpu_info) { in CpuId() argument 53 __cpuidex(cpu_info, info_eax, info_ecx); in CpuId() 58 mov edi, cpu_info in CpuId() 67 __cpuid(cpu_info, info_eax); in CpuId() 69 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0u; in CpuId() 87 cpu_info[0] = info_eax; in CpuId() 88 cpu_info[1] = info_ebx; in CpuId() 89 cpu_info[2] = info_ecx; in CpuId() 90 cpu_info[3] = info_edx; in CpuId() 95 void CpuId(int eax, int ecx, int* cpu_info) { in CpuId() argument [all …]
|
/external/libvpx/third_party/libyuv/source/ |
D | cpu_id.cc | 49 void CpuId(int info_eax, int info_ecx, int* cpu_info) { in CpuId() argument 53 __cpuidex(cpu_info, info_eax, info_ecx); in CpuId() 58 mov edi, cpu_info in CpuId() 67 __cpuid(cpu_info, info_eax); in CpuId() 69 cpu_info[3] = cpu_info[2] = cpu_info[1] = cpu_info[0] = 0u; in CpuId() 87 cpu_info[0] = info_eax; in CpuId() 88 cpu_info[1] = info_ebx; in CpuId() 89 cpu_info[2] = info_ecx; in CpuId() 90 cpu_info[3] = info_edx; in CpuId() 95 void CpuId(int eax, int ecx, int* cpu_info) { in CpuId() argument [all …]
|
/external/cronet/base/ |
D | cpu.cc | 107 void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 112 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 113 "=d"(cpu_info[3]) in __cpuid() 119 void __cpuid(int cpu_info[4], int info_type) { 121 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), 122 "=d"(cpu_info[3]) 217 int cpu_info[4] = {-1}; in Initialize() local 222 char cpu_string[sizeof(cpu_info) * 3 + 1]; in Initialize() 231 __cpuid(cpu_info, 0); in Initialize() 232 int num_ids = cpu_info[0]; in Initialize() [all …]
|
/external/webp/src/dsp/ |
D | cpu.c | 31 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 36 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 42 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 47 : "=a"(cpu_info[0]), "=&r"(cpu_info[1]), "=c"(cpu_info[2]), in GetCPUInfo() 48 "=d"(cpu_info[3]) in GetCPUInfo() 52 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo() 55 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo() 127 int cpu_info[4]; in x86CPUInfo() local 131 GetCPUInfo(cpu_info, 0); in x86CPUInfo() 132 max_cpuid_value = cpu_info[0]; in x86CPUInfo() [all …]
|
/external/cronet/third_party/abseil-cpp/absl/crc/internal/ |
D | cpu_detect.cc | 42 static void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 44 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 45 "=d"(cpu_info[3]) in __cpuid() 58 int cpu_info[4]; in GetVendor() local 59 __cpuid(cpu_info, 0); in GetVendor() 62 vendor.append(reinterpret_cast<char*>(&cpu_info[1]), 4); in GetVendor() 63 vendor.append(reinterpret_cast<char*>(&cpu_info[3]), 4); in GetVendor() 64 vendor.append(reinterpret_cast<char*>(&cpu_info[2]), 4); in GetVendor() 81 int cpu_info[4]; in GetIntelCpuType() local 82 __cpuid(cpu_info, 1); in GetIntelCpuType() [all …]
|
/external/angle/third_party/abseil-cpp/absl/crc/internal/ |
D | cpu_detect.cc | 39 static void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 41 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 42 "=d"(cpu_info[3]) in __cpuid() 64 int cpu_info[4]; in GetVendor() local 65 __cpuid(cpu_info, 0); in GetVendor() 68 vendor.append(reinterpret_cast<char*>(&cpu_info[1]), 4); in GetVendor() 69 vendor.append(reinterpret_cast<char*>(&cpu_info[3]), 4); in GetVendor() 70 vendor.append(reinterpret_cast<char*>(&cpu_info[2]), 4); in GetVendor() 87 int cpu_info[4]; in GetIntelCpuType() local 88 __cpuid(cpu_info, 1); in GetIntelCpuType() [all …]
|
/external/webrtc/system_wrappers/source/ |
D | cpu_features.cc | 49 static inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 54 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 55 "=d"(cpu_info[3]) in __cpuid() 59 static inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 61 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 62 "=d"(cpu_info[3]) in __cpuid() 72 int cpu_info[4]; in GetCPUInfo() local 73 __cpuid(cpu_info, 1); in GetCPUInfo() 75 return 0 != (cpu_info[3] & 0x04000000); in GetCPUInfo() 78 return 0 != (cpu_info[2] & 0x00000001); in GetCPUInfo() [all …]
|
/external/libyuv/files/unit_test/ |
D | unit_test.cc | 70 int TestCpuEnv(int cpu_info) { in TestCpuEnv() argument 73 cpu_info &= ~libyuv::kCpuHasNEON; in TestCpuEnv() 78 cpu_info &= ~libyuv::kCpuHasMSA; in TestCpuEnv() 83 cpu_info &= ~libyuv::kCpuHasLSX; in TestCpuEnv() 88 cpu_info &= ~libyuv::kCpuHasLASX; in TestCpuEnv() 95 cpu_info &= ~libyuv::kCpuHasX86; in TestCpuEnv() 98 cpu_info &= ~libyuv::kCpuHasSSE2; in TestCpuEnv() 101 cpu_info &= ~libyuv::kCpuHasSSSE3; in TestCpuEnv() 104 cpu_info &= ~libyuv::kCpuHasSSE41; in TestCpuEnv() 107 cpu_info &= ~libyuv::kCpuHasSSE42; in TestCpuEnv() [all …]
|
D | cpu_test.cc | 187 int cpu_info[4]; in TEST_F() local 199 CpuId(0, 0, cpu_info); in TEST_F() 200 cpu_info[0] = cpu_info[1]; // Reorder output in TEST_F() 201 cpu_info[1] = cpu_info[3]; in TEST_F() 202 cpu_info[3] = 0; in TEST_F() 203 printf("Cpu Vendor: %s %x %x %x\n", reinterpret_cast<char*>(&cpu_info[0]), in TEST_F() 204 cpu_info[0], cpu_info[1], cpu_info[2]); in TEST_F() 205 EXPECT_EQ(12u, strlen(reinterpret_cast<char*>(&cpu_info[0]))); in TEST_F() 214 CpuId(1, 0, cpu_info); in TEST_F() 215 int family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in TEST_F() [all …]
|
/external/ComputeLibrary/src/core/NEON/kernels/arm_conv/pooling/ |
D | pooling_fp32.cpp | 63 auto strat = new cpp_nhwc_1x1_stride_any_depthfirst<float>(args.cpu_info); in __anon663237960202() 73 return args.cpu_info->has_sme() && in __anon663237960302() 78 auto strat = new sme_fp32_nhwc_max_2x2_s1_output2x2_depthfirst(args.cpu_info); in __anon663237960402() 86 return args.cpu_info->has_sme() && in __anon663237960502() 91 auto strat = new sme_fp32_nhwc_avg_3x3_s1_output2x2_depthfirst(args.cpu_info); in __anon663237960602() 99 return args.cpu_info->has_sme() && args.pool_type == PoolingType::AVERAGE; in __anon663237960702() 103 auto strat = new sme_fp32_nhwc_avg_generic_depthfirst(args.cpu_info); in __anon663237960802() 111 return args.cpu_info->has_sme() && args.pool_type == PoolingType::MAX; in __anon663237960902() 115 auto strat = new sme_fp32_nhwc_max_generic_depthfirst(args.cpu_info); in __anon663237960a02() 125 return args.cpu_info->has_sve() && in __anon663237960b02() [all …]
|
D | pooling_fp16.cpp | 66 auto strat = new cpp_nhwc_1x1_stride_any_depthfirst<__fp16>(args.cpu_info); in __anon61d048580202() 76 return args.cpu_info->has_sme() && in __anon61d048580302() 81 auto strat = new sme_fp16_nhwc_max_2x2_s1_output2x2_depthfirst(args.cpu_info); in __anon61d048580402() 89 return args.cpu_info->has_sme() && in __anon61d048580502() 94 auto strat = new sme_fp16_nhwc_avg_3x3_s1_output2x2_depthfirst(args.cpu_info); in __anon61d048580602() 102 return args.cpu_info->has_sme() && args.pool_type == PoolingType::AVERAGE; in __anon61d048580702() 106 auto strat = new sme_fp16_nhwc_avg_generic_depthfirst(args.cpu_info); in __anon61d048580802() 114 return args.cpu_info->has_sme() && args.pool_type == PoolingType::MAX; in __anon61d048580902() 118 auto strat = new sme_fp16_nhwc_max_generic_depthfirst(args.cpu_info); in __anon61d048580a02() 128 return args.cpu_info->has_sve() && in __anon61d048580b02() [all …]
|
D | pooling_s8.cpp | 62 auto strat = new cpp_nhwc_1x1_stride_any_depthfirst<int8_t>(args.cpu_info); in __anonad6052460202() 72 return args.cpu_info->has_sme() && in __anonad6052460302() 77 auto strat = new sme_s8_nhwc_max_2x2_s1_output2x2_depthfirst(args.cpu_info); in __anonad6052460402() 85 return args.cpu_info->has_sme2() && args.pool_type == PoolingType::AVERAGE; in __anonad6052460502() 89 auto strat = new sme_s8_nhwc_avg_generic_depthfirst(args.cpu_info); in __anonad6052460602() 97 return args.cpu_info->has_sme() && args.pool_type == PoolingType::MAX; in __anonad6052460702() 101 auto strat = new sme_s8_nhwc_max_generic_depthfirst(args.cpu_info); in __anonad6052460802() 111 return args.cpu_info->has_sve() && in __anonad6052460902() 116 auto strat = new sve_s8_nhwc_max_2x2_s1_output2x2_depthfirst(args.cpu_info); in __anonad6052460a02() 124 return args.cpu_info->has_sve2() && args.pool_type == PoolingType::AVERAGE; in __anonad6052460b02() [all …]
|
D | pooling_u8.cpp | 62 auto strat = new cpp_nhwc_1x1_stride_any_depthfirst<uint8_t>(args.cpu_info); in __anonb20aa3880202() 72 return args.cpu_info->has_sme() && in __anonb20aa3880302() 77 auto strat = new sme_u8_nhwc_max_2x2_s1_output2x2_depthfirst(args.cpu_info); in __anonb20aa3880402() 92 args.cpu_info->has_sme2(); in __anonb20aa3880502() 96 auto strat = new sme_u8_nhwc_avg_generic_depthfirst(args.cpu_info); in __anonb20aa3880602() 104 return args.cpu_info->has_sme() && args.pool_type == PoolingType::MAX; in __anonb20aa3880702() 108 auto strat = new sme_u8_nhwc_max_generic_depthfirst(args.cpu_info); in __anonb20aa3880802() 118 return args.cpu_info->has_sve() && in __anonb20aa3880902() 123 auto strat = new sve_u8_nhwc_max_2x2_s1_output2x2_depthfirst(args.cpu_info); in __anonb20aa3880a02() 138 args.cpu_info->has_sve2(); in __anonb20aa3880b02() [all …]
|
D | pooling_u8q.cpp | 55 return args.cpu_info->has_sme2() && args.pool_type == PoolingType::AVERAGE; in __anonf7fe37590102() 59 auto strat = new sme_u8q_nhwc_avg_generic_depthfirst(args.cpu_info); in __anonf7fe37590202() 67 return args.cpu_info->has_sme2() && args.pool_type == PoolingType::MAX; in __anonf7fe37590302() 71 auto strat = new sme_u8q_nhwc_max_generic_depthfirst(args.cpu_info); in __anonf7fe37590402() 81 return args.cpu_info->has_sve2() && args.pool_type == PoolingType::AVERAGE; in __anonf7fe37590502() 85 auto strat = new sve_u8q_nhwc_avg_generic_depthfirst(args.cpu_info); in __anonf7fe37590602() 93 return args.cpu_info->has_sve2() && args.pool_type == PoolingType::MAX; in __anonf7fe37590702() 97 auto strat = new sve_u8q_nhwc_max_generic_depthfirst(args.cpu_info); in __anonf7fe37590802() 110 auto strat = new a64_u8q_nhwc_avg_generic_depthfirst(args.cpu_info); in __anonf7fe37590a02() 120 auto strat = new a64_u8q_nhwc_max_generic_depthfirst(args.cpu_info); in __anonf7fe37590c02()
|
D | pooling_s8q.cpp | 55 return args.cpu_info->has_sme2() && args.pool_type == PoolingType::AVERAGE; in __anon5e09bdd70102() 59 auto strat = new sme_s8q_nhwc_avg_generic_depthfirst(args.cpu_info); in __anon5e09bdd70202() 67 return args.cpu_info->has_sme2() && args.pool_type == PoolingType::MAX; in __anon5e09bdd70302() 71 auto strat = new sme_s8q_nhwc_max_generic_depthfirst(args.cpu_info); in __anon5e09bdd70402() 81 return args.cpu_info->has_sve2() && args.pool_type == PoolingType::AVERAGE; in __anon5e09bdd70502() 85 auto strat = new sve_s8q_nhwc_avg_generic_depthfirst(args.cpu_info); in __anon5e09bdd70602() 93 return args.cpu_info->has_sve2() && args.pool_type == PoolingType::MAX; in __anon5e09bdd70702() 97 auto strat = new sve_s8q_nhwc_max_generic_depthfirst(args.cpu_info); in __anon5e09bdd70802() 110 auto strat = new a64_s8q_nhwc_avg_generic_depthfirst(args.cpu_info); in __anon5e09bdd70a02() 120 auto strat = new a64_s8q_nhwc_max_generic_depthfirst(args.cpu_info); in __anon5e09bdd70c02()
|
/external/ComputeLibrary/src/core/NEON/kernels/arm_conv/depthwise/ |
D | depthwise_fp32.cpp | 133 auto strat = new sme2_fp32bf16fp32_planar_3x3_s1_4rows_dot_za(args.cpu_info); in __anon7831a4000202() 146 auto strat = new sme2_fp32bf16fp32_planar_3x3_s2_4rows_dot_za(args.cpu_info); in __anon7831a4000302() 159 auto strat = new sme2_fp32bf16fp32_planar_5x5_s1_4rows_dot_za(args.cpu_info); in __anon7831a4000402() 172 auto strat = new sme2_fp32bf16fp32_planar_5x5_s2_4rows_dot_za(args.cpu_info); in __anon7831a4000502() 192 auto strat = new sme2_fp32_planar_3x3_s1_4rows_mla_za(args.cpu_info); in __anon7831a4000702() 204 auto strat = new sme2_fp32_planar_3x3_s2_4rows_mla_za(args.cpu_info); in __anon7831a4000802() 216 auto strat = new sme2_fp32_planar_5x5_s1_4rows_mla_za(args.cpu_info); in __anon7831a4000902() 228 auto strat = new sme2_fp32_planar_5x5_s2_4rows_mla_za(args.cpu_info); in __anon7831a4000a02() 241 auto strat = new sme2_fp32_nhwc_3x3_s1_output4x4_mla_depthfirst(args.cpu_info); in __anon7831a4000b02() 253 auto strat = new sme2_fp32_nhwc_3x3_s1_output3x3_mla_depthfirst(args.cpu_info); in __anon7831a4000c02() [all …]
|
D | depthwise_u8q.cpp | 87 auto strat = new sme2_u8q_planar_3x3_s1_4rows_dot_za(args.cpu_info); in __anon842cbe830102() 100 auto strat = new sme2_u8q_planar_3x3_s2_4rows_dot_za(args.cpu_info); in __anon842cbe830202() 113 auto strat = new sme2_u8q_planar_5x5_s1_4rows_dot_za(args.cpu_info); in __anon842cbe830302() 126 auto strat = new sme2_u8q_planar_5x5_s2_4rows_dot_za(args.cpu_info); in __anon842cbe830402() 140 auto strat = new sve_u8q_nhwc_3x3_s1_output2x2_dot_depthfirst(args.cpu_info); in __anon842cbe830502() 153 auto strat = new sve_u8q_nhwc_3x3_s1_output2x2_mla_depthfirst(args.cpu_info); in __anon842cbe830602() 166 auto strat = new sve_u8q_nhwc_3x3_s2_output2x2_mla_depthfirst(args.cpu_info); in __anon842cbe830702() 179 auto strat = new sve_u8q_nhwc_5x5_s1_output2x2_mla_depthfirst(args.cpu_info); in __anon842cbe830802() 192 … strat = new sve_u8q_packed_to_nhwc_3x3_s2_with_multiplier_output2x4_dot_depthfirst(args.cpu_info); in __anon842cbe830902() 205 … strat = new sve_u8q_packed_to_nhwc_5x5_s1_with_multiplier_output4x2_dot_depthfirst(args.cpu_info); in __anon842cbe830a02() [all …]
|
D | depthwise_s8q.cpp | 94 auto strat = new sme2_s8q_planar_3x3_s1_4rows_dot_za(args.cpu_info); in __anonea3845010202() 107 auto strat = new sme2_s8q_planar_3x3_s2_4rows_dot_za(args.cpu_info); in __anonea3845010302() 120 auto strat = new sme2_s8q_planar_5x5_s1_4rows_dot_za(args.cpu_info); in __anonea3845010402() 133 auto strat = new sme2_s8q_planar_5x5_s2_4rows_dot_za(args.cpu_info); in __anonea3845010502() 148 auto strat = new sve_s8qs_nhwc_3x3_s1_output2x2_dot_depthfirst(args.cpu_info); in __anonea3845010602() 161 auto strat = new sve_s8q_nhwc_3x3_s1_output2x2_dot_depthfirst(args.cpu_info); in __anonea3845010702() 174 auto strat = new sve_s8q_nhwc_3x3_s1_output2x2_mla_depthfirst(args.cpu_info); in __anonea3845010802() 187 auto strat = new sve_s8q_nhwc_3x3_s2_output2x2_mla_depthfirst(args.cpu_info); in __anonea3845010902() 200 auto strat = new sve_s8q_nhwc_5x5_s1_output2x2_mla_depthfirst(args.cpu_info); in __anonea3845010a02() 213 … strat = new sve_s8q_packed_to_nhwc_3x3_s2_with_multiplier_output2x4_dot_depthfirst(args.cpu_info); in __anonea3845010b02() [all …]
|
D | depthwise_fp16.cpp | 93 auto strat = new sve_fp16_nhwc_3x3_s1_output4x4_mla_depthfirst(args.cpu_info); in __anon73cfb4c20202() 105 auto strat = new sve_fp16_nhwc_3x3_s1_output3x3_mla_depthfirst(args.cpu_info); in __anon73cfb4c20302() 117 auto strat = new sve_fp16_nhwc_3x3_s1_output2x2_mla_depthfirst(args.cpu_info); in __anon73cfb4c20402() 129 auto strat = new sve_fp16_nhwc_3x3_s2_output2x2_mla_depthfirst(args.cpu_info); in __anon73cfb4c20502() 141 auto strat = new sve_fp16_nhwc_5x5_s1_output2x2_mla_depthfirst(args.cpu_info); in __anon73cfb4c20602() 155 auto strat = new a64_fp16_nhwc_3x3_s1_output4x4_mla_depthfirst(args.cpu_info); in __anon73cfb4c20702() 167 auto strat = new a64_fp16_nhwc_3x3_s1_output3x3_mla_depthfirst(args.cpu_info); in __anon73cfb4c20802() 179 auto strat = new a64_fp16_nhwc_3x3_s1_output2x2_mla_depthfirst(args.cpu_info); in __anon73cfb4c20902() 191 auto strat = new a64_fp16_nhwc_3x3_s2_output2x2_mla_depthfirst(args.cpu_info); in __anon73cfb4c20a02() 203 auto strat = new a64_fp16_nhwc_5x5_s1_output2x2_mla_depthfirst(args.cpu_info); in __anon73cfb4c20b02() [all …]
|
/external/tensorflow/tensorflow/tools/test/ |
D | system_info_lib.py | 41 config.cpu_info.CopyFrom(gather_cpu_info()) 74 cpu_info = test_log_pb2.CPUInfo() 75 cpu_info.num_cores = multiprocessing.cpu_count() 82 cpu_info.num_cores_allowed = ( 87 if cpu_info.num_cores_allowed == 0: 88 cpu_info.num_cores_allowed = cpu_info.num_cores 92 cpu_info.cpu_info = info['brand'] 93 cpu_info.num_cores = info['count'] 94 cpu_info.mhz_per_cpu = info['hz_advertised_raw'][0] / 1.0e6 98 cpu_info.cache_size['L2'] = int(l2_cache_size.group(0)) * 1024 [all …]
|
/external/libyuv/files/util/ |
D | cpuid.c | 33 int family, model, cpu_info[4]; in main() local 45 CpuId(0, 0, &cpu_info[0]); in main() 46 cpu_info[0] = cpu_info[1]; // Reorder output in main() 47 cpu_info[1] = cpu_info[3]; in main() 48 cpu_info[3] = 0; in main() 49 printf("Cpu Vendor: %s\n", (char*)(&cpu_info[0])); in main() 58 CpuId(1, 0, &cpu_info[0]); in main() 59 family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in main() 60 model = ((cpu_info[0] >> 4) & 0x0f) | ((cpu_info[0] >> 12) & 0xf0); in main()
|
D | psnr.cc | 199 static __inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 204 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 205 "=d"(cpu_info[3]) in __cpuid() 210 static __inline void __cpuid(int cpu_info[4], int info_type) { in __cpuid() 213 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), in __cpuid() 214 "=d"(cpu_info[3]) in __cpuid() 221 int cpu_info[4]; in CpuHasSSE2() local 222 __cpuid(cpu_info, 1); in CpuHasSSE2() 223 if (cpu_info[3] & 0x04000000) { in CpuHasSSE2()
|