Skip to content

Commit e4c84c5

Browse files
committed
Reduce frequency of deterministic mode instruction logging
Do as the comment says and log every (logical) second only.
1 parent 2d90aff commit e4c84c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void run_machine(std::string machine_str, std::string bootrom_path, uint32_t exe
253253
EventManager::get_instance()->disable_input_handlers();
254254
// Log the PC and instruction every second to make it easier to validate
255255
// that execution is the same every time.
256-
deterministic_timer = TimerManager::get_instance()->add_cyclic_timer(MSECS_TO_NSECS(100), [] {
256+
deterministic_timer = TimerManager::get_instance()->add_cyclic_timer(MSECS_TO_NSECS(1000), [] {
257257
PPCDisasmContext ctx;
258258
ctx.instr_code = ppc_cur_instruction;
259259
ctx.instr_addr = 0;

0 commit comments

Comments
 (0)