fix single-core clock speed
Some checks failed
eden-build / windows (msvc) (pull_request) Successful in 35m54s
eden-build / source (pull_request) Has been cancelled
eden-build / linux (pull_request) Has been cancelled
eden-build / android (pull_request) Has been cancelled
eden-license / license-header (pull_request_target) Has been cancelled

Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
swurl 2025-04-17 14:02:11 -04:00
parent ec60d21616
commit bf53b68bdf
Signed by: crueter
GPG key ID: A5A7629F109C8FD1
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ class WallClock {
public:
static constexpr u64 CNTFRQ = 19'200'000; // CNTPCT_EL0 Frequency = 19.2 MHz
static constexpr u64 GPUTickFreq = 614'400'000; // GM20B GPU Tick Frequency = 614.4 MHz
static constexpr u64 CPUTickFreq = 1'020'000; // CPU Frequency = 1020.0MHz
static constexpr u64 CPUTickFreq = 1'020'000'000; // CPU Frequency = 1020.0MHz
virtual ~WallClock() = default;

View file

@ -13,7 +13,7 @@ namespace Core {
namespace Hardware {
constexpr u64 BASE_CLOCK_RATE = 1'020'000; // CPU Frequency = 1020.0 MHz
constexpr u64 BASE_CLOCK_RATE = 1'020'000'000; // CPU Frequency = 1020.0 MHz
constexpr u64 CNTFREQ = 19'200'000; // CNTPCT_EL0 Frequency = 19.2 MHz
constexpr u32 NUM_CPU_CORES = 4; // Number of CPU Cores