Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.cpp b/test/test.cpp
index d87439ed..f73e329a 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -10,6 +10,7 @@ void TestFunction()
{
std::this_thread::sleep_for( std::chrono::milliseconds( 1 ) );
ZoneScoped;
+ ZoneName( "Test function" );
std::this_thread::sleep_for( std::chrono::milliseconds( 1 ) );
}
}
@@ -111,6 +112,9 @@ void DepthTest()
for(;;)
{
std::this_thread::sleep_for( std::chrono::milliseconds( 20 ) );
+ ZoneScoped;
+ const auto txt = "Fibonacci (15)";
+ ZoneText( txt, strlen( txt ) );
Fibonacci( 15 );
}
}