一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
cpuid.cpp File Reference
#include <array>
#include <cstdint>
#include <string_view>
#include <cpuid.h>
#include "attributes/common.hpp"
#include "cpuid.hpp"
Include dependency graph for cpuid.cpp:

Go to the source code of this file.

Namespaces

namespace  ein
 

Functions

cpuid_t ein::cpuid (int32_t eax, int32_t ecx) noexcept
 calls CPUID and returns all of the registers that it responds with.
 

Variables

enum cpu_vendor ein::cpu_vendor
 Reports the vendor of the CPU encountered at runtime. Cached.
 

Detailed Description

SPDX-FileType: Source
SPDX-FileCopyrightText: 2024 Edward Kmett <ekmett@gmail.com>
SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0

Definition in file cpuid.cpp.