ncurses-fix for stats at end
This commit is contained in:
parent
47f2ad193f
commit
8432071f9f
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -252,7 +252,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
auto stats = c->get_mips_rel_speed();
|
auto stats = c->get_mips_rel_speed();
|
||||||
|
|
||||||
printf("MIPS: %.2f, relative speed: %.2f%%, instructions executed: %lu", std::get<0>(stats), std::get<1>(stats), std::get<2>(stats));
|
cnsl->put_string_lf(format("MIPS: %.2f, relative speed: %.2f%%, instructions executed: %lu", std::get<0>(stats), std::get<1>(stats), std::get<2>(stats)));
|
||||||
}
|
}
|
||||||
|
|
||||||
event = EVENT_TERMINATE;
|
event = EVENT_TERMINATE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue