Commit Graph

3933 Commits

Author SHA1 Message Date
Bartosz Taudul
d90fed8296 Implement resetting selected microarchitecture. 2022-10-18 21:44:08 +02:00
Bartosz Taudul
dc6c3962d3 Add software S3TC decoder. 2022-10-15 13:06:08 +02:00
Bartosz Taudul
fdb130651d Detect if hardware supports S3TC. 2022-10-15 12:56:19 +02:00
Bartosz Taudul
306ef02aa2 Do not limit inline propagation to sample count cost. 2022-10-15 00:43:07 +02:00
Bartosz Taudul
564534c703 Perform fast integer comparison before comparing strings. 2022-10-15 00:42:01 +02:00
Bartosz Taudul
47ec7de479 Propagate inlines for hw sample impact. 2022-10-15 00:39:25 +02:00
Bartosz Taudul
e7da2efdd1 Include hardware samples in inline propagation. 2022-10-15 00:35:51 +02:00
Bartosz Taudul
5db18087f5 Propagate inlines to src line addresses. 2022-10-15 00:27:54 +02:00
Bartosz Taudul
ba34596b91 No cost propagation when symbol is narrowed down to a single function. 2022-10-14 21:36:09 +02:00
Bartosz Taudul
d0d6b8fd8e Use menus in inline call stack popup. 2022-10-14 19:49:06 +02:00
Bartosz Taudul
27ab25709d Update imgui to f87e891f. 2022-10-14 19:48:38 +02:00
Bartosz Taudul
a226446a92 Add local call stack navigation menu to asm lines. 2022-10-14 17:37:06 +02:00
Bartosz Taudul
0f283d5825 Select clicked on asm line. 2022-10-13 23:01:06 +02:00
Bartosz Taudul
4c69b21a29 Reverse mouse buttons for jumping in symbol view. 2022-10-13 21:22:46 +02:00
Bartosz Taudul
1419283a91 Make the local callstack more readable. 2022-10-13 21:03:33 +02:00
Bartosz Taudul
7727a17153 Request attention on disconnect. 2022-10-13 20:49:30 +02:00
Bartosz Taudul
1c5d90c98a Require attention after load / connect. 2022-10-13 20:47:02 +02:00
Bartosz Taudul
b66c3a0e30 Request attention when save finishes. 2022-10-13 20:42:32 +02:00
Bartosz Taudul
8dec765f5f Require attention on failure popups. 2022-10-13 20:39:43 +02:00
Bartosz Taudul
94fd3b664e Add attention callback helper. 2022-10-13 20:36:54 +02:00
Bartosz Taudul
0a7ae94fcb View::Draw() is no longer static. 2022-10-13 19:50:35 +02:00
Bartosz Taudul
c89c4f46ea Hook up attention callback. 2022-10-13 19:31:47 +02:00
Bartosz Taudul
575f627136 All View ctor parameters need to be explicitly stated. 2022-10-13 19:30:15 +02:00
Bartosz Taudul
c0c3b58955 Remove dead code. 2022-10-13 19:25:36 +02:00
Bartosz Taudul
b88ef29792 Make sure source file data is properly tracked. 2022-10-13 19:00:22 +02:00
Bartosz Taudul
fc85e46f31 Always fill source code query queue when performing a query.
Previous implementation made these two events separate.
2022-10-13 18:15:04 +02:00
Bartosz Taudul
70dd37bbea Display local call stack for assembly lines. 2022-10-12 00:45:05 +02:00
Bartosz Taudul
c041b962c0 Construct fake callstack frames for code location data. 2022-10-12 00:27:12 +02:00
Bartosz Taudul
ed455339b3 Remove codeAddressToLocation map. 2022-10-12 00:13:07 +02:00
Bartosz Taudul
0b84b50d9f Remove locationCodeAddressList map from Worker.
Mapping of source code locations to code addresses is now performed
dynamically during disassembly in SourceView.
2022-10-12 00:13:07 +02:00
Bartosz Taudul
57e039f96c Restore building code symbol map. 2022-10-11 23:04:06 +02:00
Bartosz Taudul
383ecb6a12 Remove CodeLocation query and CodeInformation response. 2022-10-11 22:56:23 +02:00
Bartosz Taudul
ac6902501a Get location for address from callstack frame data. 2022-10-11 21:47:28 +02:00
Bartosz Taudul
4d0768ba9d Replace code location queries with callstack frame ones. 2022-10-11 21:40:45 +02:00
Bartosz Taudul
c9adadf86a When opening a new trace, set view to whole time span. 2022-10-10 22:55:56 +02:00
Bartosz Taudul
60f0ed8c0e Include child calls in inline propagation. 2022-10-09 21:12:47 +02:00
Bartosz Taudul
720f339784 Implement inline cost propagation down the stack. 2022-10-09 21:09:25 +02:00
Bartosz Taudul
dbad69cd4f Add inlines propagation UI. 2022-10-09 21:04:41 +02:00
Bartosz Taudul
a87cbacbc1 Fix offset of source code separator line. 2022-10-09 13:45:20 +02:00
Bartosz Taudul
9f60b53729 Enable file selector on emscripten. 2022-10-06 18:12:51 +02:00
Bartosz Taudul
ec0757c03a Change file selector to work with callbacks. 2022-10-06 18:12:50 +02:00
Bartosz Taudul
5d7cf137cf Convert std::string to const char* in printf call. 2022-10-05 23:45:59 +02:00
Bartosz Taudul
3ca61ad227 Extract file selector functionality. 2022-10-05 22:50:17 +02:00
Bartosz Taudul
5940af8995 Support opening web pages on emscripten. 2022-10-05 01:22:35 +02:00
Bartosz Taudul
5874ac11f7 Sample parents show function, not symbol. 2022-10-04 22:03:05 +02:00
Bartosz Taudul
dff45f1dc1 Just one compression worker thread on emscripten. 2022-10-02 00:40:43 +02:00
Bartosz Taudul
7cdc60886c Add ZEN4 to microarchitecture selector. 2022-10-01 12:45:11 +02:00
Bartosz Taudul
62c4b70aaa Reenable ZEN4 cpuid. 2022-10-01 12:40:57 +02:00
Bartosz Taudul
ccb5fefca2 Add ZEN4 microarchitecture data. 2022-10-01 12:40:05 +02:00
Bartosz Taudul
c2142279f1 But do not expose it yet. 2022-10-01 01:42:17 +02:00