Files
jak-project/common/util/os.h
T
Tyler Wilding bfc4c18ada goalc: replicate tests for the majority of ARM64 non-simd cases (#4377)
- Adds `capstone` as a disassembling library that could eventually
replace Zydis (for now left that alone)
- Replicates all of the existing x86 tests to ARM64, fixed a bunch of
underlying issues along the way
- There are a very small handful of tests remaining that need to be
enabled / fixed
2026-08-16 15:34:37 -04:00

23 lines
360 B
C++

#pragma once
#include <cstddef>
#include <optional>
#include <string>
size_t get_peak_rss();
void setup_cpu_info();
struct CpuInfo {
bool initialized = false;
bool has_avx = false;
bool has_avx2 = false;
bool has_neon = false;
std::string brand;
std::string model;
};
CpuInfo& get_cpu_info();
std::optional<double> get_macos_major_version();