jaulib v1.3.8
Jau Support Library (C++, Java, ..)
|
System and OS related types and functionality. More...
Classes | |
class | jau::cpu::CpuInfo |
Singleton CpuInfo caching all jau::cpu information. More... | |
class | jau::environment |
Main jau environment class, supporting environment variable access and fetching elapsed time using its stored startup-time. More... | |
class | jau::root_environment |
Base jau environment class, merely to tag all environment settings by inheritance and hence documentation. More... | |
Functions | |
std::string | jau::cpu::get_cpu_info () noexcept |
std::string | jau::cpu::get_cpu_info (std::string &sb) noexcept |
jau::cpu::JAU_MAKE_BITFIELD_ENUM_STRING (arm32_hwcap1_t, swp, half, thumb, bits26, fmult, fpa, vfp, edsp, java, iwmmxt, crunch, thumbee, neon, vfp_v3, vfp_v3_d16, tls, vfp_v4, idiva, idivt, vfp_d32, lpae, evtstrm) | |
jau::cpu::JAU_MAKE_BITFIELD_ENUM_STRING (arm32_hwcap2_t, aes, pmull, sha1, sha2, crc32) | |
jau::cpu::JAU_MAKE_BITFIELD_ENUM_STRING (arm64_hwcap_t, fp, asimd, evtstrm, aes, pmull, sha1, sha2, crc32, atomics, fphp, asimdhp, cpuid, asimdrdm, jscvt, fcma, lrcpc, dcpop, sha3, sm3, sm4, asimddp, sha512, sve, asimdfhm, dit, uscat, ilrcpc, flagm, ssbs, sb, paca, pacg) | |
jau::cpu::JAU_MAKE_ENUM_STRING (cpu_family_t, arm32, arm64, x86_32, x86_64, ia64, ppc32, ppc64, sparc32, sparc64, mips32, mips64, superh32, superh64, wasm32, wasm64) | |
constexpr size_t | jau::cpu::pointer_bit_size () noexcept |
Returns the compile time pointer architecture size in bits. | |
System and OS related types and functionality.
|
strong |
|
strong |
|
strong |
|
strong |
|
constexprnoexcept |
Returns the compile time pointer architecture size in bits.
e.g. 64-bit for LP64 and 32-bit for LP32.
Implementations uses sizeof(void*)
, i.e. the address bus size, the common denominator across all LP64, ILP64 and LLP64 for 64-bit.
Definition at line 48 of file cpuid.hpp.
jau::cpu::JAU_MAKE_ENUM_STRING | ( | cpu_family_t | , |
arm32 | , | ||
arm64 | , | ||
x86_32 | , | ||
x86_64 | , | ||
ia64 | , | ||
ppc32 | , | ||
ppc64 | , | ||
sparc32 | , | ||
sparc64 | , | ||
mips32 | , | ||
mips64 | , | ||
superh32 | , | ||
superh64 | , | ||
wasm32 | , | ||
wasm64 | ) |
jau::cpu::JAU_MAKE_BITFIELD_ENUM_STRING | ( | arm32_hwcap1_t | , |
swp | , | ||
half | , | ||
thumb | , | ||
bits26 | , | ||
fmult | , | ||
fpa | , | ||
vfp | , | ||
edsp | , | ||
java | , | ||
iwmmxt | , | ||
crunch | , | ||
thumbee | , | ||
neon | , | ||
vfp_v3 | , | ||
vfp_v3_d16 | , | ||
tls | , | ||
vfp_v4 | , | ||
idiva | , | ||
idivt | , | ||
vfp_d32 | , | ||
lpae | , | ||
evtstrm | ) |
jau::cpu::JAU_MAKE_BITFIELD_ENUM_STRING | ( | arm64_hwcap_t | , |
fp | , | ||
asimd | , | ||
evtstrm | , | ||
aes | , | ||
pmull | , | ||
sha1 | , | ||
sha2 | , | ||
crc32 | , | ||
atomics | , | ||
fphp | , | ||
asimdhp | , | ||
cpuid | , | ||
asimdrdm | , | ||
jscvt | , | ||
fcma | , | ||
lrcpc | , | ||
dcpop | , | ||
sha3 | , | ||
sm3 | , | ||
sm4 | , | ||
asimddp | , | ||
sha512 | , | ||
sve | , | ||
asimdfhm | , | ||
dit | , | ||
uscat | , | ||
ilrcpc | , | ||
flagm | , | ||
ssbs | , | ||
sb | , | ||
paca | , | ||
pacg | ) |
|
inlinenoexcept |