MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / cpuid

Function cpuid

benchmarks/cpuid.cpp:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127#include <intrin.h>
128
129inline CPUIDInfo cpuid(std::uint32_t eax)
130{
131 CPUIDInfo info;
132 __cpuidex((int*)&info.data[0], eax, 0);
133 return info;
134}
135#else
136// Assume GCC-compatible inline assembly syntax
137inline CPUIDInfo cpuid(std::uint32_t eax)

Callers 1

getCPUStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected