mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
Log cpu usage periodically
This commit is contained in:
parent
f3a325fe1a
commit
04df392866
11 changed files with 338 additions and 10 deletions
|
@ -46,7 +46,7 @@ void progress_dialog_server::operator()()
|
|||
break;
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(5ms);
|
||||
thread_ctrl::wait_for(5000);
|
||||
text0 = +g_progr;
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ void progress_dialog_server::operator()()
|
|||
if (skip_this_one)
|
||||
{
|
||||
// Do nothing
|
||||
std::this_thread::sleep_for(10ms);
|
||||
thread_ctrl::wait_for(10000);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -173,7 +173,7 @@ void progress_dialog_server::operator()()
|
|||
}
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(10ms);
|
||||
thread_ctrl::wait_for(10000);
|
||||
}
|
||||
|
||||
if (g_system_progress_stopping || thread_ctrl::state() == thread_state::aborting)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue