1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

665 Commits

Author SHA1 Message Date
Bartosz Taudul b329eb1fcc Change way of updating fonts in View.
This makes the whole process more easy to follow. It also fixes a crash
bug that was occuring when Wayland output scale changed.
2024-03-01 23:43:53 +01:00
Bartosz Taudul 03c98a8d4c Show external frames by default. 2024-02-27 22:12:27 +01:00
Bartosz Taudul 77f8ec0b2f Implement hiding external stack frames. 2024-02-27 02:04:30 +01:00
Bartosz Taudul 4757d101fc Optional ctrl key mod check when running view source with function name. 2024-01-02 17:04:01 +01:00
Bartosz Taudul 9a5fb0bb51 Implement search for symbol matching function name when opening source view. 2024-01-02 16:15:12 +01:00
Bartosz Taudul 8187519775 Add threads count to SrcLocZonesSlim. 2023-12-20 17:19:26 +01:00
Bartosz Taudul 57bd63dab6 Show trace description/filename on titlebar. 2023-06-29 23:53:37 +02:00
Bartosz Taudul c75f01c90e Merge pull request #557 from KristofferC/kc/filter_user
allow filtering zones in Zone finder based on the user text
2023-05-02 17:46:27 +02:00
Bartosz Taudul a2d470690f Pass global config to View. 2023-05-01 14:41:38 +02:00
Kristoffer 73c83906b6 make the histogram take into account filtered zones 2023-05-01 13:31:21 +02:00
Kristoffer ef68f3139f allow filtering zones in Zone finder based on the user text 2023-04-28 16:54:29 +02:00
Bartosz Taudul def30228c9 Draw plots using preprocessed draw lists. 2023-04-24 23:28:29 +02:00
Bartosz Taudul 8eb2cc83b3 Push plot draw list to DrawPlot(). 2023-04-24 23:28:28 +02:00
Bartosz Taudul 08e6248299 CalcZoneTimeDataImpl() doesn't need zone parameter. 2023-04-16 17:40:16 +02:00
Bartosz Taudul 8d565e46d6 HandleTimelineMouse() doesn't need pxns parameter. 2023-04-16 17:36:04 +02:00
Bartosz Taudul dec4713854 ListMemData() doesn't use id parameter. 2023-04-16 17:30:53 +02:00
Bartosz Taudul 31b3fcd1fe View::InitTextEditor() doesn't need font parameter. 2023-04-16 17:21:03 +02:00
Bartosz Taudul a0221c8660 Pass function objects through const references. 2023-04-16 16:44:18 +02:00
Bartosz Taudul 5aaa4fcaf7 Use draw list data to draw locks. 2023-04-15 22:56:44 +02:00
Bartosz Taudul f7a8998663 Push locks draw lists to DrawThread(). 2023-04-15 22:56:44 +02:00
Bartosz Taudul f0acb73d09 Add accessor for active lock info window lock id. 2023-04-15 22:56:43 +02:00
Bartosz Taudul d737b911e9 Make View::Vis() public. 2023-04-15 22:56:43 +02:00
Bartosz Taudul f2a2669ca8 Decouple CPU graph availability from having the draw data. 2023-04-05 18:21:12 +02:00
Bartosz Taudul 2b7b79352b Parallelize calculation of per-CPU context switches. 2023-04-02 22:10:22 +02:00
Bartosz Taudul 5eebc5d7cf Preprocess CPU usage.
Things of note: Worker::GetCpuUsage() functionality was moved to
TimelineItemCpuData::PreprocessCpuUsage().
2023-03-25 17:55:15 +01:00
Bartosz Taudul e3ec455aba Decouple check for existence from building draw lists.
We need to know if samples, context switches and messages are present to be
able to correctly calculate thread height. However, if the thread is not
visible, it is not necessary to provide a list of items to draw.
2023-03-25 16:52:27 +01:00
Bartosz Taudul efa095e25f Simplify context switch precalculation. 2023-03-25 00:30:44 +01:00
Bartosz Taudul 40e08e9594 Draw messages using precalculated list. 2023-03-23 22:16:47 +01:00
Bartosz Taudul e321e91c7d TimelineItemThread can now determine visibility internally. 2023-03-23 21:56:04 +01:00
Bartosz Taudul fbc87275e7 Add highlighted message accessor to View. 2023-03-23 21:47:22 +01:00
Bartosz Taudul 80c15c0f9b Draw samples using precalculated data. 2023-03-22 22:26:20 +01:00
Bartosz Taudul 50ccdc1ef4 Draw thread context switches using precalculated data. 2023-03-22 19:38:58 +01:00
Bartosz Taudul 66d3c2a472 Draw CPU zones using a precalculated list. 2023-03-19 18:37:27 +01:00
Bartosz Taudul 6ab4180b5b Use TimelineContext to draw CPU zones. 2023-03-19 01:14:36 +01:00
Bartosz Taudul ee5d6f1adb Use TimelineContext for drawing GPU zones. 2023-03-19 00:28:14 +01:00
Bartosz Taudul 5743bff0af Use TimelineContext when drawing CPU data. 2023-03-19 00:23:33 +01:00
Bartosz Taudul 26791f55d1 Use TimelineContext data for drawing plots. 2023-03-18 17:11:24 +01:00
Bartosz Taudul 0ecdcbc13c Move TimelineContext struct definition to a separate header. 2023-03-18 17:03:23 +01:00
Bartosz Taudul f9449bc938 Only retrieve frame offset internally in GetFrameNumber(). 2023-03-04 00:32:15 +01:00
Bartosz Taudul 8164b776fd Don't pass GetFrameOffset() results to GetFrameText().
Frame offset can be retrieved internally.
2023-03-04 00:29:00 +01:00
Bartosz Taudul b8029f7448 Show diff direction and allow reversal. 2022-12-30 20:33:17 +01:00
Bartosz Taudul 5a442f123e Calculate diff between source files. 2022-12-23 19:40:58 +01:00
Bartosz Taudul bd06d4e104 Build lists of unique source files in comparison menu. 2022-12-23 19:40:58 +01:00
Bartosz Taudul 0eef0a8313 Fix window focus issues when navigating with WSAD. 2022-10-26 19:33:04 +02:00
Bartosz Taudul 27ab25709d Update imgui to f87e891f. 2022-10-14 19:48:38 +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 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