#define TRACY_FIBERS #include "tracy/Tracy.hpp" #include "tracy/TracyC.h" const char* fiber = "job1"; TracyCZoneCtx zone; int test() { std::thread t1([] { TracyFiberEnter(fiber); TracyCZone(ctx, 1); zone = ctx; _sleep(1); TracyFiberLeave; }); t1.join(); std::thread t2([] { TracyFiberEnter(fiber); _sleep(1); TracyCZoneEnd(zone); TracyFiberLeave; }); t2.join(); return 0; }GitHub - nccgroup/tracy: A tool designed to assist with finding all sinks and sources of a web application and display these results in a digestible manner.
https://github.com/wolfpld/tracy
Tracy Profiler