feat add microprofile
Some checks failed
cpp-template / build (Debug, aarch64-linux-gnu) (push) Failing after 18s
cpp-template / build (Debug, arm-linux-gnueabihf) (push) Failing after 17s
cpp-template / build (Debug, mipsel-linux-gnu) (push) Failing after 18s
cpp-template / build (Release, aarch64-linux-gnu) (push) Failing after 13s
cpp-template / build (Release, host.gcc) (push) Has been cancelled
cpp-template / build (Release, mipsel-linux-gnu) (push) Has been cancelled
cpp-template / build (Debug, host.gcc) (push) Has been cancelled
cpp-template / build (Release, arm-linux-gnueabihf) (push) Has been cancelled

This commit is contained in:
tqcq
2025-08-26 00:55:10 +08:00
parent cf49554574
commit ed976db651
3 changed files with 256 additions and 100 deletions

View File

@@ -1,6 +1,11 @@
#include <common/TracyMutex.hpp>
#include <mutex>
#include <tracy/Tracy.hpp>
void Test()
{
TracyLockable(std::mutex, lock);
std::lock_guard<LockableBase(std::mutex)> _(lock);
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}