This commit is contained in:
folkert van heusden 2023-03-27 19:43:02 +02:00
parent 85d7c57453
commit f00cbd2997
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -71,7 +71,7 @@ std::tuple<double, double, uint64_t> cpu::get_mips_rel_speed()
{
uint64_t instr_count = get_instructions_executed_count();
uint32_t t_diff = get_ms() - running_since;
uint32_t t_diff = get_ms() - running_since; // TODO fix this because we now implement WAIT where it sits idle
double mips = instr_count / (1000.0 * t_diff);