From e8a9d228c5c3f7710b9cd97bc6a9620e22bc534d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Sep 2024 15:08:16 +0200 Subject: [PATCH] Darken inline items in flame graph. --- profiler/src/profiler/TracyView_FlameGraph.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiler/src/profiler/TracyView_FlameGraph.cpp b/profiler/src/profiler/TracyView_FlameGraph.cpp index 8a79e403..61822fc3 100644 --- a/profiler/src/profiler/TracyView_FlameGraph.cpp +++ b/profiler/src/profiler/TracyView_FlameGraph.cpp @@ -207,6 +207,10 @@ void View::DrawFlameGraphItem( const FlameGraphItem& item, FlameGraphContext& ct name = "???"; color = 0xFF888888; } + if( sym->isInline ) + { + color = DarkenColorHalf( color ); + } } const auto hiColor = HighlightColor( color );