1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:37:34 +00:00

ProfileViewer: Color code the instruction rows by sample percentage

We now "heat color" the instruction-level samples so you can get a nice
visual picture of where time is spent in functions. :^)
This commit is contained in:
Andreas Kling 2020-04-11 20:59:55 +02:00
parent a4006e19d7
commit 8dd96ad143
2 changed files with 52 additions and 5 deletions

View file

@ -38,6 +38,7 @@ struct InstructionData {
StringView bytes;
FlatPtr address { 0 };
u32 event_count { 0 };
float percent { 0 };
};
class DisassemblyModel final : public GUI::Model {