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

1255 Commits

Author SHA1 Message Date
Bartosz Taudul cb9f243987 Fix navigation in discontinuous frames. 2018-08-05 02:27:59 +02:00
Bartosz Taudul 947f829797 Fix drawing discontinuous frames. 2018-08-05 02:23:26 +02:00
Bartosz Taudul 9d051cf5ee Add support for discontinuous frames. 2018-08-05 02:15:54 +02:00
Bartosz Taudul cbb45160af Disable zoom anim on user interaction. 2018-08-05 01:23:00 +02:00
Bartosz Taudul 1b44b31eff Prevent range-zoom when range has zero length. 2018-08-05 01:20:26 +02:00
Bartosz Taudul 2acea5da3c Also draw zig-zag on too-small zones. 2018-08-04 23:32:53 +02:00
Bartosz Taudul 3869c1dbca Count frames from 1, not 0. 2018-08-04 23:21:58 +02:00
Bartosz Taudul 6b8a3b25ba Fix drawing of last frame. 2018-08-04 23:19:35 +02:00
Bartosz Taudul 9cd6932b13 Draw zig-zag in place of invisible (too small) frames. 2018-08-04 23:11:47 +02:00
Bartosz Taudul f385e5520b Draw frame separators only if the frame set is selected. 2018-08-04 21:51:46 +02:00
Bartosz Taudul 1282aa9739 Darken frame set counter, if it is disabled. 2018-08-04 21:48:40 +02:00
Bartosz Taudul 37f42a52fb Proper frame names on frames graph. 2018-08-04 21:46:26 +02:00
Bartosz Taudul acabdf3c2a Implement switching between frame sets. 2018-08-04 21:43:29 +02:00
Bartosz Taudul 88d9307d7a Allow disabling frame sets. 2018-08-04 21:26:01 +02:00
Bartosz Taudul 1ea1cd57b3 Use proper frame names. 2018-08-04 21:19:24 +02:00
Bartosz Taudul aad3e941e5 Draw multiple frame sets. 2018-08-04 21:10:45 +02:00
Bartosz Taudul 83eac36949 Add FrameData vector accessor. 2018-08-04 21:10:45 +02:00
Bartosz Taudul 9b4348b497 Handle frame name queries. 2018-08-04 21:10:45 +02:00
Bartosz Taudul 4424a7d7e8 Last time should never be zero. 2018-08-04 21:10:45 +02:00
Bartosz Taudul 5e9b2e36be Make getting start of time less cryptic. 2018-08-04 21:10:45 +02:00
Bartosz Taudul 23dfc2e3fc Multiple frame sets support. 2018-08-04 21:10:45 +02:00
Bartosz Taudul 0b4c2724ce Add strings to map directly in StringDiscovery. 2018-08-04 17:10:45 +02:00
Bartosz Taudul ada9f78678 Use StringDiscovery for plots. 2018-08-04 16:33:03 +02:00
Bartosz Taudul d2c866377e Extract unique string discovery from worker.
This class is responsible for handling data sets that should be grouped
together, but which may come with different name pointers.

It is a generalization of the plot merging functionality.
2018-08-04 16:25:11 +02:00
Bartosz Taudul e174e2c12a Remove obsolete comment.
Nothing happens with the source data, as the strings are uniquely stored
in the StoreString() function.
2018-08-04 15:46:10 +02:00
Bartosz Taudul 6ef2d2d9a3 Track progress of loading plots. 2018-08-04 15:17:37 +02:00
Bartosz Taudul 8de214b4d5 Display number of events for items in options menu. 2018-08-04 15:09:52 +02:00
Bartosz Taudul ea588072f2 Stop connection window from jumping around. 2018-08-04 14:50:31 +02:00
Bartosz Taudul 672925ac04 Add separators to frame numbers. 2018-07-29 21:56:30 +02:00
Bartosz Taudul 0d76ccfb71 Add days to time-to-string converter. 2018-07-29 21:14:56 +02:00
Bartosz Taudul d04126eabe Make time-to-string more readable. 2018-07-29 21:09:11 +02:00
Bartosz Taudul 2eddbeb164 Use ctrl key to zoom-out using selection range. 2018-07-29 20:53:29 +02:00
Bartosz Taudul 1cf168c95e Fix impossible zoom animation. 2018-07-29 20:53:29 +02:00
Bartosz Taudul 310203101f Stop zoom-range-selection when zooming to range.
This also disables zoom range selection when middle click is used to
zoom view to a selected zone.
2018-07-29 20:53:29 +02:00
Bartosz Taudul b4f4fcfde9 Add zoom-to-middle-mouse-button-selection-range. 2018-07-29 20:15:49 +02:00
Bartosz Taudul 18896044c4 Display explicit names of loaded things. 2018-07-29 16:56:46 +02:00
Bartosz Taudul 9f13475b52 Track trace version in worker. 2018-07-29 15:33:48 +02:00
Bartosz Taudul 13509c14f1 Save size of 'active' and 'frees' memory data structures. 2018-07-29 15:29:56 +02:00
Bartosz Taudul 00d07e39f7 Save threadExpand size to allow vector preallocation. 2018-07-29 15:19:44 +02:00
Bartosz Taudul bff6eb4c34 Save source location zones counts.
This allows preallocation of zones-in-source-location vectors.
2018-07-29 14:58:01 +02:00
Bartosz Taudul 12b90d1630 Move tracy version to a separate header. 2018-07-29 14:20:44 +02:00
Bartosz Taudul ccc5c37af5 Always count source location zones. 2018-07-29 14:16:13 +02:00
Bartosz Taudul 4456c8a454 Reserve space for string data. 2018-07-29 14:13:29 +02:00
Bartosz Taudul 766bf45a2b Fix initialization of atomics. 2018-07-28 20:13:06 +02:00
Bartosz Taudul 8ddf32bc6b Highlight zones with the same srcloc on hover. 2018-07-28 19:53:11 +02:00
Bartosz Taudul 648070e6a1 Include each loaded zone in sub progress. 2018-07-28 19:22:28 +02:00
Bartosz Taudul 4741dab833 Track sub progress. 2018-07-28 19:05:01 +02:00
Bartosz Taudul a14238c199 Add sub progress display. 2018-07-28 18:56:52 +02:00
Bartosz Taudul 6a3a9c0bc5 Load second trace on a separate thread. 2018-07-28 18:47:33 +02:00
Bartosz Taudul a46425f4e9 Adjust load stages. 2018-07-28 18:26:00 +02:00