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
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.cpp')
-rw-r--r--test/test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.cpp b/test/test.cpp
index 8ed59412..b81fca90 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -220,6 +220,11 @@ void CallstackTime()
}
}
+void OnlyMemory()
+{
+ new int;
+}
+
int main()
{
auto t1 = std::thread( TestFunction );
@@ -241,6 +246,7 @@ int main()
auto t17 = std::thread( SharedWrite1 );
auto t18 = std::thread( SharedWrite2 );
auto t19 = std::thread( CallstackTime );
+ auto t20 = std::thread( OnlyMemory );
tracy::SetThreadName( t1, "First thread" );
tracy::SetThreadName( t2, "Second thread" );
@@ -261,6 +267,7 @@ int main()
tracy::SetThreadName( t17, "Shared write 1" );
tracy::SetThreadName( t18, "Shared write 2" );
tracy::SetThreadName( t19, "Callstack time" );
+ tracy::SetThreadName( t20, "Only memory" );
for(;;)
{