6 #include <infoware/infoware.hpp>
19 const char *StringifyArchitectureEnum(
const iware::cpu::architecture_t arch)
const noexcept {
20 #define CASE_RET_STR(c) \
21 case iware::cpu::architecture_t::c: \
29 return "<unknown arch>";
34 const char *StringifyCacheTypeEnum(
const iware::cpu::cache_type_t cache_type)
const noexcept {
35 #define CASE_RET_STR(c) \
36 case iware::cpu::cache_type_t::c: \
44 return "<unknown cache type>";
49 const char *StringifyInstructionSetEnum(
const iware::cpu::instruction_set_t is)
const noexcept {
50 #define CASE_RET_STR(c) \
51 case iware::cpu::instruction_set_t::c: \
93 return "<unknown instruction set>";
98 const char *StringifyKernelVariantEnum(
const iware::system::kernel_t variant)
const noexcept {
100 case iware::system::kernel_t::windows_nt:
102 case iware::system::kernel_t::linux:
104 case iware::system::kernel_t::darwin:
106 case iware::system::kernel_t::unknown:
108 return "<unknown kernel variant>";
112 const char *StringifyGPUVendorEnum(
const iware::gpu::vendor_t vendor)
const noexcept {
114 case iware::gpu::vendor_t::intel:
116 case iware::gpu::vendor_t::amd:
118 case iware::gpu::vendor_t::nvidia:
120 case iware::gpu::vendor_t::microsoft:
122 case iware::gpu::vendor_t::qualcomm:
124 case iware::gpu::vendor_t::apple:
126 case iware::gpu::vendor_t::unknown:
128 return "<unknown gpu vendor>";
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.