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

900 Commits

Author SHA1 Message Date
Bartosz Taudul be392a76fb Move TracyVersion.hpp to common. 2022-08-27 16:05:36 +02:00
Bartosz Taudul e8aaf5fa99 Run source file query on payloaded source locations. 2022-08-17 16:04:20 +02:00
Bartosz Taudul d5a46f97c1 Release MemData. 2022-08-14 11:37:24 +02:00
Bartosz Taudul 259672abc6 Use proper type in StringKey initialization. 2022-08-08 18:47:11 +02:00
Bartosz Taudul 5a36782c83 Fix inline functions not being attributed to symbols.
Regression was introduced in commit 18112d3c6.
2022-07-31 12:38:24 +02:00
Bartosz Taudul 8b4385498d Process Vsync frame messages.
Version bump is required due to frame set name pointer hack.
2022-07-30 19:51:29 +02:00
Jiangping Xu ad7c2cf5d8 fix tracy worker threads conflict 2022-07-27 11:44:19 -07:00
Bartosz Taudul b026e09a09 Include custom color in plot configuration. 2022-07-24 13:42:25 +02:00
Bartosz Taudul b2a94cbfa2 Set plot fill using configuration message. 2022-07-24 13:10:20 +02:00
Bartosz Taudul dceb2399ee Set plot staircase using plot configuration message. 2022-07-24 13:09:45 +02:00
Bartosz Taudul 810f1573ac Use separate messages for transfer of different plot value types. 2022-07-24 13:00:36 +02:00
Bartosz Taudul aeedf7de2d Save/load plot steps parameter. 2022-07-24 12:42:39 +02:00
Bartosz Taudul 16627d7313 Plots may now be drawn as staircases. 2022-07-24 12:37:30 +02:00
Bartosz Taudul 4d40a9cb53 Track locking thread on server side. 2022-07-18 02:06:19 +02:00
Bartosz Taudul 06c7984a16 Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
Bartosz Taudul 68de009e0e Extract common reference time processing to a function. 2022-06-22 01:56:31 +02:00
Bartosz Taudul 183cbf12a0 Subtract base time directly in TscTime(). 2022-06-22 01:56:31 +02:00
Bartosz Taudul 331f18345f Add braces around initialization of subobjects. 2022-06-16 15:29:39 +02:00
Bartosz Taudul 579339dd24 Retrieve correct symbol address. 2022-05-02 01:12:35 +02:00
Bartosz Taudul aa2bbfe5f9 Transfer executable image name in source file queries. 2022-05-01 14:30:18 +02:00
Bartosz Taudul fd55c1e975 Pass symbol image name to CacheSource(). 2022-05-01 14:25:07 +02:00
Bartosz Taudul 95cf143336 Remove unused variables. 2022-04-26 22:01:09 +02:00
Bartosz Taudul c9240c100d Fix initialization order. 2022-04-26 22:01:09 +02:00
Bartosz Taudul 18112d3c66 Drop support for pre-0.7 traces. 2022-04-18 13:59:48 +02:00
Bartosz Taudul 95187c94e9 Bump protocol to simplify IsQueryPrio(). 2022-04-18 13:39:49 +02:00
Bartosz Taudul 381f706796 Remember if there is branch retirement data. 2022-04-01 18:46:46 +02:00
Bartosz Taudul 2b47c2a64e Send priority queries before other queued up queries.
This ensures that simple to handle yet important queries are answered in a
timely manner. Previously an onslaught of slow symbol-related queries could
block e.g. zone name resolving for a couple of minutes.
2022-03-31 00:06:49 +02:00
Bartosz Taudul 5ae9e791a5 Make easy check first. 2022-03-31 00:06:49 +02:00
Bartosz Taudul d691cb2a06 Define a list of priority queries. 2022-03-31 00:02:02 +02:00
Bartosz Taudul a335efe9e6 Implement scanning for source files missing in cache. 2022-03-30 16:07:15 +02:00
Bartosz Taudul e086488928 Extract source file caching functionality. 2022-03-30 16:06:35 +02:00
Thomas Bernard 79e146c957 Avoid accessing address 0 when reporting a failure. 2022-03-10 14:28:31 +01:00
Bartosz Taudul df96293477 Create GPU source location zones stats entry, if not present.
In case of CPU statistics data, this entry is created during creation of a
source location. This won't be done for GPU zones, as it would needlessly
expand the number of held entries. This is assuming the number of GPU zones
is significantly less than the number of CPU zones.
2022-01-29 15:45:25 +01:00
Bartosz Taudul 6d55f79109 Save source location data counts. 2022-01-29 15:14:43 +01:00
Bartosz Taudul ba87929074 Perform GPU statistics reconstruction.
Note: Zone counts are currently being calculated, but they are not being
saved. Proper usage of this data (as is performed in the CPU counterpart)
would remove the possibility of insertion of new entries into the map in
ReconstructZoneStatistics().
2022-01-29 00:48:01 +01:00
Bartosz Taudul 28d029f820 Collection of GPU statistics. 2022-01-29 00:15:33 +01:00
Bartosz Taudul f9279afaec GPU zone counting. 2022-01-29 00:15:32 +01:00
Bartosz Taudul f1095bba12 GPU statistics data accessors. 2022-01-29 00:15:32 +01:00
Bartosz Taudul db64a5fa7e Explicitly save context switch callstack samples. 2021-12-21 15:24:11 +01:00
Bartosz Taudul c5654c333a Process explicit context switch callstack samples. 2021-12-21 14:18:32 +01:00
Bartosz Taudul 3f1c540b3a Further split ProcessCallstackSampleImpl(). 2021-12-21 14:18:14 +01:00
Bartosz Taudul 9b624049a5 Immediately disconnect connection on disconnect request.
The disconnect handling logic is broken on the client, after the symbol
resolution was moved to a separate thread. Use workaround until a proper fix
is available.
2021-12-11 13:15:50 +01:00
Bartosz Taudul bbbae35925 Only identify samples when IdentifySamples is set. 2021-12-04 15:16:17 +01:00
Bartosz Taudul c98680ad0b Add support for sample data without time. 2021-12-02 02:06:05 +01:00
Bartosz Taudul d8a611e952 Also calculate sample parents without inlines. 2021-11-27 17:47:09 +01:00
Bartosz Taudul 687d4defc0 Cosmetics. 2021-11-27 17:46:43 +01:00
Bartosz Taudul 355a179678 Merge callstack samples with the same timestamp. 2021-11-27 15:29:33 +01:00
Bartosz Taudul 4f735e1ae2 Extract callstack merging. 2021-11-27 15:06:58 +01:00
Bartosz Taudul a02575322f Collect child sample addresses. 2021-11-27 02:03:59 +01:00
Bartosz Taudul 4bde9022e1 Properly acknowledge unavailable symbol code. 2021-11-25 22:44:56 +01:00