Linux/macOS: Implement overlay CPU/memory statistics (#480)

This commit is contained in:
goeiecool9999 2022-11-20 19:53:45 +01:00 committed by GitHub
parent c17097369b
commit 9ce52ad83a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 322 additions and 98 deletions

View file

@ -1,5 +1,4 @@
#include "Fiber.h"
#if BOOST_OS_LINUX || BOOST_OS_MACOS
#include <ucontext.h>
thread_local Fiber* sCurrentFiber{};
@ -52,5 +51,3 @@ void* Fiber::GetFiberPrivateData()
{
return sCurrentFiber->m_privateData;
}
#endif