mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +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:
parent
a4006e19d7
commit
8dd96ad143
2 changed files with 52 additions and 5 deletions
|
@ -38,6 +38,7 @@ struct InstructionData {
|
|||
StringView bytes;
|
||||
FlatPtr address { 0 };
|
||||
u32 event_count { 0 };
|
||||
float percent { 0 };
|
||||
};
|
||||
|
||||
class DisassemblyModel final : public GUI::Model {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue