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

23 Commits

Author SHA1 Message Date
Bartosz Taudul fb032b4f9b Rewrite CPU zones folding. 2023-03-23 00:17:55 +01:00
Bartosz Taudul 527b5f3311 Rewrite ghost zone folding. 2023-03-23 00:04:12 +01:00
Bartosz Taudul c75b62e3d6 Rewrite samples folding. 2023-03-22 23:44:23 +01:00
Bartosz Taudul 83ae9868e2 Fix pixel and nanosecond domain mixing. 2023-03-22 22:41:19 +01:00
Bartosz Taudul 80c15c0f9b Draw samples using precalculated data. 2023-03-22 22:26:20 +01:00
Bartosz Taudul da6ea47541 Preprocess samples. 2023-03-22 22:26:19 +01:00
Bartosz Taudul 2456ae36bf Store wait stack in 4 bytes. 2023-03-22 21:55:02 +01:00
Bartosz Taudul 1e67c8bce2 Move const out of the loop. 2023-03-22 20:38:43 +01:00
Bartosz Taudul 50ccdc1ef4 Draw thread context switches using precalculated data. 2023-03-22 19:38:58 +01:00
Bartosz Taudul 88f0b9c754 Preprocess thread context switch data. 2023-03-22 19:38:36 +01:00
Bartosz Taudul 1e1833edc2 Parallelize timeline item preprocessing. 2023-03-19 18:54:32 +01:00
Bartosz Taudul 66d3c2a472 Draw CPU zones using a precalculated list. 2023-03-19 18:37:27 +01:00
Bartosz Taudul 1d7afbd07e Calculate which CPU zones to draw beforehand. 2023-03-19 18:23:04 +01:00
Bartosz Taudul 6ab4180b5b Use TimelineContext to draw CPU zones. 2023-03-19 01:14:36 +01:00
Bartosz Taudul 0ecdcbc13c Move TimelineContext struct definition to a separate header. 2023-03-18 17:03:23 +01:00
Bartosz Taudul 0a32929b0b Move hover flag to TimelineContext. 2023-03-18 16:07:56 +01:00
Bartosz Taudul 9538fa99ca Pass yMin, yMax through TimelineContext. 2023-03-15 23:56:57 +01:00
Bartosz Taudul c81ef177ab Push timline context to Draw and DrawContents functions. 2023-03-14 02:25:15 +01:00
Bartosz Taudul 7dd31ab609 Timeline items may have preprocessing. 2023-03-14 02:02:21 +01:00
Bartosz Taudul 256905b7e3 Include first time in CPU thread lifetime calculation. 2023-03-03 22:46:25 +01:00
Tomaž Vöröš dbefb70db3 Add key to TimelineItem. 2023-01-27 20:00:05 +01:00
Bartosz Taudul ca125bd44c Collapse Tracy threads by default.
Note that this will likely work only when loading existing traces. In live
captures the thread name may not have yet been retrieved at the point when
timeline item insertion occurs, which will prevent the check from succeeding.
2022-09-03 23:35:35 +02:00
Bartosz Taudul ec3dcaeef3 Migrate drawing CPU threads to the new timeline item system. 2022-09-03 23:28:54 +02:00