Skip to content

Commit

Permalink
Darken inline items in flame graph.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Sep 28, 2024
1 parent 2ac51fb commit e8a9d22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions profiler/src/profiler/TracyView_FlameGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit e8a9d22

Please sign in to comment.