feat add tracy profiler
Some checks failed
cpp-template / build (Debug, aarch64-linux-gnu) (push) Failing after 27s
cpp-template / build (Release, mipsel-linux-gnu) (push) Failing after 12m45s
cpp-template / build (Release, host.gcc) (push) Failing after 12m52s
cpp-template / build (Release, arm-linux-gnueabihf) (push) Failing after 12m55s
cpp-template / build (Release, aarch64-linux-gnu) (push) Failing after 13m1s
cpp-template / build (Debug, mipsel-linux-gnu) (push) Failing after 13m6s
cpp-template / build (Debug, host.gcc) (push) Failing after 13m11s
cpp-template / build (Debug, arm-linux-gnueabihf) (push) Failing after 13m19s
Some checks failed
cpp-template / build (Debug, aarch64-linux-gnu) (push) Failing after 27s
cpp-template / build (Release, mipsel-linux-gnu) (push) Failing after 12m45s
cpp-template / build (Release, host.gcc) (push) Failing after 12m52s
cpp-template / build (Release, arm-linux-gnueabihf) (push) Failing after 12m55s
cpp-template / build (Release, aarch64-linux-gnu) (push) Failing after 13m1s
cpp-template / build (Debug, mipsel-linux-gnu) (push) Failing after 13m6s
cpp-template / build (Debug, host.gcc) (push) Failing after 13m11s
cpp-template / build (Debug, arm-linux-gnueabihf) (push) Failing after 13m19s
This commit is contained in:
2
third_party/tracy/test/CMakeLists.txt
vendored
2
third_party/tracy/test/CMakeLists.txt
vendored
@@ -29,3 +29,5 @@ endif()
|
||||
|
||||
# copy image file in build folder
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/image.jpg image.jpg COPYONLY)
|
||||
|
||||
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT tracy-test)
|
||||
|
5
third_party/tracy/test/test.cpp
vendored
5
third_party/tracy/test/test.cpp
vendored
@@ -339,10 +339,7 @@ void ArenaAllocatorTest()
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
signal( SIGUSR1, SignalHandler_TriggerCrash );
|
||||
signal( SIGUSR2, SignalHandler_TriggerInstrumentationFailure );
|
||||
#else
|
||||
#ifndef _WIN32
|
||||
struct sigaction sigusr1, oldsigusr1,sigusr2, oldsigusr2 ;
|
||||
memset( &sigusr1, 0, sizeof( sigusr1 ) );
|
||||
sigusr1.sa_handler = SignalHandler_TriggerCrash;
|
||||
|
Reference in New Issue
Block a user