mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
Fix UTF-8 strings in perf_meter files
This commit is contained in:
parent
2b52b4a749
commit
89d9813a45
@ -19,7 +19,7 @@ void perf_stat_base::print(const char* name) noexcept
|
||||
{
|
||||
if (u64 count = m_log[i + 1].load())
|
||||
{
|
||||
perf_log.notice("Perf stats for %s: events < %.3fµs: %u", name, std::pow(2., i) / 1000., count);
|
||||
perf_log.notice(u8"Perf stats for %s: events < %.3fµs: %u", name, std::pow(2., i) / 1000., count);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -177,7 +177,7 @@ public:
|
||||
// Print in microseconds
|
||||
if (static_cast<u64>(diff * 1000'000.) >= g_cfg.core.perf_report_threshold)
|
||||
{
|
||||
perf_log.notice("%s: %.3fµs", perf_name<ShortName>.data(), diff * 1000'000.);
|
||||
perf_log.notice(u8"%s: %.3fµs", perf_name<ShortName>.data(), diff * 1000'000.);
|
||||
}
|
||||
|
||||
// TODO: handle push(), currently ignored
|
||||
|
Loading…
Reference in New Issue
Block a user