Commit Graph

6371 Commits

Author SHA1 Message Date
Bartosz Taudul
733d267768
Disable OpenGL callstacks when fibers are enabled.
This has little impact, but saves much of the hassle.
2021-10-10 16:39:22 +02:00
Bartosz Taudul
5ccf369919
Implement callstack serialization. 2021-10-10 16:14:17 +02:00
Bartosz Taudul
a421083e58
Crash reports may be serialized. 2021-10-10 15:58:24 +02:00
Bartosz Taudul
9d89b84efd
Support serialized queue for Lua messages. 2021-10-10 15:55:22 +02:00
Bartosz Taudul
082255f940
Messages may now use serialized queue. 2021-10-10 15:54:21 +02:00
Bartosz Taudul
f8d37b45a3
Update NEWS. 2021-10-10 14:59:14 +02:00
Bartosz Taudul
13b28714ee
Display failure context in capture utility. 2021-10-10 14:52:30 +02:00
Bartosz Taudul
20074e64f4
Fix processing of serialized zone color, value and validation. 2021-10-10 14:43:36 +02:00
Bartosz Taudul
d3905bd4bb
Add context to zone text failures. 2021-10-10 14:14:33 +02:00
Bartosz Taudul
930ef77ea9
Add zone value failure context. 2021-10-10 14:12:13 +02:00
Bartosz Taudul
9300934fa5
Separate zone value and text failures. 2021-10-10 14:05:21 +02:00
Bartosz Taudul
909f5916b1
Use possibly-synchronous macros for C API zones. 2021-10-09 15:51:29 +02:00
Bartosz Taudul
2cea5bc5b2
Add C API async-or-sync queue macros. 2021-10-09 15:50:30 +02:00
Bartosz Taudul
5835011d0f
Allow serialized zone validation. 2021-10-09 15:50:09 +02:00
Bartosz Taudul
7c046eb7ac
Use possibly-synchronous macros for Lua zones. 2021-10-09 15:41:27 +02:00
Bartosz Taudul
fcda1f6a7f
Keep Lua zone insertion time to a minimum.
No functional changes here. Only the variable retrieval was separated from
filling in the queue items. While with the async queue this makes no
difference, it will be important when the serial queue is used here.
2021-10-09 15:35:11 +02:00
Bartosz Taudul
7527f33d6c
Handle serialized zones. 2021-10-09 15:31:45 +02:00
Bartosz Taudul
2eeade89ba
Add macro for handling serial dequeue thread context checks. 2021-10-09 15:30:58 +02:00
Bartosz Taudul
2d5d4293a9
Move thread context check to a separate function. 2021-10-09 15:16:36 +02:00
Bartosz Taudul
13acec38f7
Use the possibly-synchronous macros in C++ zones. 2021-10-09 14:58:33 +02:00
Bartosz Taudul
6411b35d68
Provide macros for async-or-sync queue insertion.
If fibers are enabled, then some events which were traditionally stored in
async queues will have to be serialized. These macros provide the needed
infrastructure for this.
2021-10-09 14:55:32 +02:00
Bartosz Taudul
250ef2cf6e
Change thread id size from 64 to 32 bits.
Both Windows and Linux use 32-bit thread identifiers. MacOS has a 64-bit
counter, but in practice it will never overflow during profiling and no false
aliasing will happen.

These changes are only done client-side and in the network protocol. The
server still uses 64-bit thread identifiers, to enable virtual threads, etc.
2021-10-08 00:42:52 +02:00
Bartosz Taudul
07bc665d8c
Drop support for Cygwin. 2021-10-07 23:28:40 +02:00
Bartosz Taudul
12f693372a
Cosmetics. 2021-10-07 23:28:31 +02:00
Bartosz Taudul
b7a27d02af
Fix total time in find zone, if limit range is enabled. 2021-09-28 01:11:22 +02:00
Bartosz Taudul
9cb54982cb
Fix crash. 2021-09-27 18:13:45 +02:00
Bartosz Taudul
8eb038280f
Update manual. 2021-09-27 02:19:20 +02:00
Bartosz Taudul
c2e94355f0
Add icon to samples label. 2021-09-27 02:07:02 +02:00
Bartosz Taudul
99f2d0e059
Fix vertical spacing in inline symbols list. 2021-09-27 01:54:37 +02:00
Bartosz Taudul
28ae970887
Remove trailing whitespace. 2021-09-27 01:54:15 +02:00
Bartosz Taudul
d5db075286
Update AUTHORS. 2021-09-23 22:14:52 +02:00
Bartosz Taudul
458fdaa126
Update NEWS. 2021-09-23 22:14:11 +02:00
Bartosz Taudul
b6eee83463
Merge pull request #257 from xxxbxxx/filter-by-srcloc
Filter samples by zones source locations
2021-09-23 22:12:42 +02:00
xavier
f37ef1affd Display the samples after the groups in the "find zone" window
to make it clear they are filtered by selected group.
2021-09-23 21:03:56 +02:00
xavier
61670e30aa Update samples statistics continuously in the "find zone" window 2021-09-23 21:03:56 +02:00
xavier
63acfe72e7 Apply group filters to the samples statistics in the "find zone" window
reduce memory by storing the thread ids next to the zones intead of
making zone lists per thread.

speed-up by reading the zones in linear order rather than bisecting
the whole list for each sample.
2021-09-23 21:03:56 +02:00
xavier
41130d2a69 Avoid useless work when there aren't any samples 2021-09-23 21:03:56 +02:00
xavier
1233b39b69 Move samples before groups in "find zone" window
and fix style
2021-09-23 21:03:56 +02:00
xavier
0089c832f7 Cache samples statistics in the "find zone" window 2021-09-23 21:03:56 +02:00
xavier
ed42c2388c Add samples statistics to the "find zone" window 2021-09-23 21:03:56 +02:00
xavier
e4ce9f0f41 Include threadid in SampleDataRange
TODO: maybe make lists per thread to avoid increasing the packed structure by 2 bytes?
2021-09-23 21:03:56 +02:00
xavier
6b901a7156 Extract DrawSamplesStatistics() 2021-09-23 21:03:56 +02:00
Bartosz Taudul
4c220bdc14
Always display statistics mode selection.
Even if only one option is available.
2021-09-23 18:32:59 +02:00
Bartosz Taudul
f74818ece5
Make accumulation combo consistent. 2021-09-23 18:28:19 +02:00
Bartosz Taudul
9e67491766
Update NEWS. 2021-09-23 18:17:55 +02:00
Bartosz Taudul
bcfc4a4fa7
Fix message thread assignment in import-chrome. 2021-09-23 18:08:03 +02:00
Bartosz Taudul
74d0e79b8c
Vcpkg changed everything again. 2021-09-21 02:09:54 +02:00
Bartosz Taudul
2a994f1c81
Backport freetype 2.11 fix from imgui. 2021-09-20 22:45:52 +02:00
Bartosz Taudul
0b03d7b2ad
Merge pull request #265 from nagisa/nagisa/manual-lifetime-for-c
Expose TRACY_MANUAL_LIFETIME APIs to C API clients
2021-09-18 15:20:42 +02:00
Simonas Kazlauskas
173a165a57 Add startup/shutdown_profiler to the manual
Also remove the documentation for the now-gone `___tracy_init_thread`
function.
2021-09-18 14:54:00 +03:00