mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11: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
|
@ -6,6 +6,7 @@
|
|||
#include "Emu/system_progress.hpp"
|
||||
#include "Emu/system_utils.hpp"
|
||||
#include "Emu/perf_meter.hpp"
|
||||
#include "Emu/perf_monitor.hpp"
|
||||
#include "Emu/vfs_config.h"
|
||||
|
||||
#include "Emu/Cell/ErrorCodes.h"
|
||||
|
@ -463,6 +464,9 @@ bool Emulator::BootRsxCapture(const std::string& path)
|
|||
// Initialize progress dialog
|
||||
g_fxo->init<named_thread<progress_dialog_server>>();
|
||||
|
||||
// Initialize performance monitor
|
||||
g_fxo->init<named_thread<perf_monitor>>();
|
||||
|
||||
// PS3 'executable'
|
||||
m_state = system_state::ready;
|
||||
GetCallbacks().on_ready();
|
||||
|
@ -1115,6 +1119,9 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
// Initialize progress dialog
|
||||
g_fxo->init<named_thread<progress_dialog_server>>();
|
||||
|
||||
// Initialize performance monitor
|
||||
g_fxo->init<named_thread<perf_monitor>>();
|
||||
|
||||
// Set title to actual disc title if necessary
|
||||
const std::string disc_sfo_dir = vfs::get("/dev_bdvd/PS3_GAME/PARAM.SFO");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue