Lines Matching refs:cpu_info
86 uint32 cpu_info[4]; in TEST_F() local
98 CpuId(0, 0, cpu_info); in TEST_F()
99 cpu_info[0] = cpu_info[1]; // Reorder output in TEST_F()
100 cpu_info[1] = cpu_info[3]; in TEST_F()
101 cpu_info[3] = 0; in TEST_F()
102 printf("Cpu Vendor: %s %x %x %x\n", reinterpret_cast<char*>(&cpu_info[0]), in TEST_F()
103 cpu_info[0], cpu_info[1], cpu_info[2]); in TEST_F()
104 EXPECT_EQ(12u, strlen(reinterpret_cast<char*>(&cpu_info[0]))); in TEST_F()
113 CpuId(1, 0, cpu_info); in TEST_F()
114 int family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); in TEST_F()
115 int model = ((cpu_info[0] >> 4) & 0x0f) | ((cpu_info[0] >> 12) & 0xf0); in TEST_F()