Commit Graph

5842 Commits

Author SHA1 Message Date
Bartosz Taudul
9e28f441c8 Cosmetics. 2021-06-09 21:12:42 +02:00
Bartosz Taudul
27e61b8204 Remove not needed check. 2021-06-09 21:08:48 +02:00
Bartosz Taudul
7aa575fd2e Display GPU timer overflow notification. 2021-06-09 21:08:48 +02:00
Bartosz Taudul
de2ca9b22a Change check for showing GPU timestamp accuracy. 2021-06-09 21:08:48 +02:00
Bartosz Taudul
b7b9912b10 Handle GPU timer overflows with heuristics. 2021-06-09 21:08:47 +02:00
Bartosz Taudul
90b51568e9 Add common lzcnt implementation.
Not really tested, so fingers crossed.
2021-06-09 20:29:43 +02:00
Bartosz Taudul
c61a7ef57b Update NEWS. 2021-06-09 02:38:47 +02:00
Bartosz Taudul
bb0f5025b2 Also ignore "atomic" header. 2021-06-09 02:14:01 +02:00
Bartosz Taudul
9c2ea8a71f Specify minimum length of subframe skip in one place. 2021-06-09 02:13:00 +02:00
Bartosz Taudul
e1c3babf43 Check whole ignore list on ARM. 2021-06-09 02:06:28 +02:00
Bartosz Taudul
854613f210 Ignore atomic_base.h implementation. 2021-06-09 02:05:44 +02:00
Bartosz Taudul
85da04bcc4 Add hw samples line part to source view. 2021-06-09 00:19:17 +02:00
Bartosz Taudul
def9570eda Extract rendering hw samples line part. 2021-06-09 00:19:17 +02:00
Bartosz Taudul
18cace42ca Display hw samples tooltip for source lines. 2021-06-08 23:46:30 +02:00
Bartosz Taudul
82bfee5127 Move helper functions to top of the file. 2021-06-08 23:46:29 +02:00
Bartosz Taudul
2eb50bcf42 Hardware sample data was already queried. 2021-06-08 23:46:29 +02:00
Bartosz Taudul
66318bdb3b Display target FPS also as time available. 2021-06-08 22:56:06 +02:00
Bartosz Taudul
c79bfa349f Update ARM CPU parts list. 2021-06-04 19:41:59 +02:00
Bartosz Taudul
ecf0e3d587 Update apple devices list. 2021-06-04 19:16:51 +02:00
Bartosz Taudul
b68c23fc64 Update x86 CPU models list. 2021-06-04 18:59:41 +02:00
Bartosz Taudul
4316d48bea Add a note about CPUID list. 2021-06-04 18:48:01 +02:00
Bartosz Taudul
7c378cd0a9 Add Rocket Lake uarch data. 2021-06-04 18:40:37 +02:00
Bartosz Taudul
cc831e8192 Description is not supposed to be formatted. 2021-06-04 15:29:08 +02:00
Bartosz Taudul
0b05587b05 Don't need to format const string. 2021-06-04 15:27:23 +02:00
Bartosz Taudul
cb849ee14c Capitalize Tracy name. 2021-06-04 15:17:20 +02:00
Bartosz Taudul
3c076ddb6f Opening unsupported trace gives option to download update. 2021-06-04 15:17:20 +02:00
Bartosz Taudul
39cf98f98c Move OpenWebpage() to a separate source file. 2021-06-04 15:17:14 +02:00
Bartosz Taudul
86510c48e0 Use proper type. 2021-06-04 15:16:44 +02:00
Bartosz Taudul
b281ce9c0e Add missing include. 2021-06-04 15:01:50 +02:00
Bartosz Taudul
859aa3b2b0 Setup system tracing before launching profiler threads.
This makes sure that profiler threads are properly included in sample data on
Linux. This was previously working because sample capture was performed
system-wide. Now samples are only captured in client context, which includes
all spawned threads. Since this inclusion only works for threads which will be
spawned after the trace starts, no thread can be created before sampling setup
is done.
2021-06-04 14:07:46 +02:00
Bartosz Taudul
3c31fb56a8 Allow range-limiting hardware samples. 2021-06-04 13:58:00 +02:00
Bartosz Taudul
a1acea0c50 Support hw sample times on server. 2021-06-04 13:38:45 +02:00
Bartosz Taudul
2765be92fb Sample time for hardware samples. 2021-06-04 12:50:55 +02:00
Bartosz Taudul
1616411257 Use AVX2 to search in strings with 32-byte blocks. 2021-06-03 13:49:38 +02:00
Bartosz Taudul
348582d6e4 Search for string matches with 8-byte blocks. 2021-06-03 13:10:26 +02:00
Bartosz Taudul
f8bb24ed36 Search for a character in string in 8-byte blocks. 2021-06-03 12:47:00 +02:00
Bartosz Taudul
483d31c1f4 Ringbuffer tail is not updated by kernel. 2021-06-03 01:14:44 +02:00
Bartosz Taudul
eb38640114 Fix uninitialized pointer. 2021-06-03 00:53:49 +02:00
Bartosz Taudul
b79014f3ee Optimize parsing numbers.
Don't read byte-by-byte, process data in 8-byte packets.
2021-06-03 00:27:01 +02:00
Bartosz Taudul
b7c5939bb8 Merge remote-tracking branch 'origin/master' into hw 2021-06-02 01:12:28 +02:00
Bartosz Taudul
f4d80a4f5f Fix rpmalloc init for TRACY_MANUAL_LIFETIME path. 2021-05-31 22:55:30 +02:00
Bartosz Taudul
1badc53e71 Update NEWS. 2021-05-31 22:40:57 +02:00
Bartosz Taudul
3da84d1579 Hide rpmalloc init behind thread local boolean. 2021-05-31 22:38:22 +02:00
Bartosz Taudul
b0fc0d5dcc Check if rpmalloc has to be initialized before each operation.
The C++11 spec states in [basic.stc.thread] thread storage duration:

2. A variable with thread storage duration shall be initialized before its
   first odr-use (3.2) and, if constructed, shall be destroyed on thread exit.

Previously Tracy relied on the TLS data being initialized:
- During thread creation (MSVC).
- Or during first use in a thread, but the initialization was performed for
  the whole TLS block.

It seems that new compilers are more granular with how they perform the
initialization, hence rpmalloc init has to be checked before each allocation,
as it cannot be "folded" into, for example, initialization of the profiler
itself.
2021-05-31 02:31:42 +02:00
Bartosz Taudul
92fb197aac Use weak compare, yield thread. 2021-05-31 02:22:13 +02:00
Bartosz Taudul
94ec6a0d9d Move TracyYield.hpp to common. 2021-05-31 02:19:35 +02:00
Bartosz Taudul
c41473b445 Cosmetics. 2021-05-31 02:12:16 +02:00
Bartosz Taudul
3feb2473a2 Fix rpmalloc on ios.
https://github.com/mjansson/rpmalloc/issues/146
2021-05-30 13:38:29 +02:00
Timo Suoranta
f6eb909152 Documentation for CMake FetchContent support 2021-05-30 12:51:04 +02:00
Timo Suoranta
629b6d88bb Provide CMake TracyClient header only library 2021-05-30 12:45:16 +02:00