mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
vm: lock memory under "sudo" addr
Remove memory touching from transactions.
This commit is contained in:
parent
e98eb4659e
commit
083397a555
5 changed files with 5 additions and 32 deletions
|
@ -292,6 +292,7 @@ int main(int argc, char** argv)
|
|||
#ifdef _WIN32
|
||||
ULONG64 intro_cycles{};
|
||||
QueryThreadCycleTime(GetCurrentThread(), &intro_cycles);
|
||||
verify("SetProcessWorkingSetSize" HERE), SetProcessWorkingSetSize(GetCurrentProcess(), 0x60000000, 0x80000000); // 2GiB
|
||||
#elif defined(RUSAGE_THREAD)
|
||||
struct ::rusage intro_stats{};
|
||||
::getrusage(RUSAGE_THREAD, &intro_stats);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue