mirror of
https://github.com/open-goal/jak-project
synced 2026-05-27 16:14:18 -04:00
19 lines
265 B
C++
19 lines
265 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
size_t get_peak_rss();
|
|
void setup_cpu_info();
|
|
|
|
struct CpuInfo {
|
|
bool initialized = false;
|
|
bool has_avx = false;
|
|
bool has_avx2 = false;
|
|
|
|
std::string brand;
|
|
std::string model;
|
|
};
|
|
|
|
CpuInfo& get_cpu_info();
|