Darken inline items in flame graph.

This commit is contained in:
Bartosz Taudul 2024-09-28 15:08:16 +02:00
parent 2ac51fb597
commit e8a9d228c5
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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 );