Merge pull request #9917 from Morph1984/the-real-time

native_clock: Re-adjust the RDTSC frequency to its real frequency
This commit is contained in:
liamwhite 2023-03-10 13:55:11 -05:00 committed by GitHub
commit 021af4fd00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 83 additions and 18 deletions

View file

@ -25,7 +25,7 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
SCOPE_EXIT({ MicroProfileOnThreadExit(); });
Common::SetCurrentThreadName(name.c_str());
Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
system.RegisterHostThread();
auto current_context = context.Acquire();