diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-26 21:29:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 21:29:09 -0700 |
commit | c7f32931ee46ef18ed8f9d432a687ca1fa1e974e (patch) | |
tree | 5f2389e3b7b8e1cc689a9e3a21a4f8be1414f7d4 | |
parent | 1828f82000289c0e3e62190163ef10e050a8fc69 (diff) | |
parent | 54aabb00b05f64f4dd2721e0340bdef457c9e06c (diff) |
Merge pull request #4832 from bunnei/cpu-manager-microprofile-fix
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
-rw-r--r-- | src/core/cpu_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 688b99eba..983210197 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp @@ -365,6 +365,8 @@ void CpuManager::RunThread(std::size_t core) { data.enter_barrier.reset(); data.exit_barrier.reset(); data.initialized = false; + + MicroProfileOnThreadExit(); } } // namespace Core |