Commit Graph

8281 Commits

Author SHA1 Message Date
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
Simonas Kazlauskas
54ee3d8a94 Expose TRACY_MANUAL_LIFETIME APIs to C API clients
These are extremely useful for ecosystems such as Rust. There are a
couple of reasons why:

1. Rust strongly advises against relying on life before/after main, as
   it is difficult to reason about. Most users working in Rust will
   generally be quite surprised when encountering this concept.
2. Rust and its package manager makes it easy to use packages (crates)
   and somewhat less straightforward to consider the implications of
   including a dependency.

   In case of the `rust_tracy_client` set of packages, I currently have
   to warn throughout the documentation of the package that simply
   adding a dependency on the bindings package is sufficient to
   potentially accidentally broadcast a lot of information about the
   instrumented binary to the broader world. This seems like a major
   footgun given how easy is it to forget about having added this
   dependency.

Ability to manually manage the lifetime of the profiler would be a great
solution to these problems.
2021-09-18 14:54:00 +03:00
Bartosz Taudul
e929946120
Merge pull request #264 from michal-z/master
Undo my previous change regarding zig cc.
2021-09-17 11:37:24 +02:00
Michal Ziulek
789328f73d
Undo my previous change.
-D_WIN32_WINNT=0x601 must be defined when building TracyClient.cpp for mingw-w64 on Windows. In that case definitions I've added are not needed.
2021-09-17 11:34:40 +02:00
Bartosz Taudul
058e89011f
Merge pull request #261 from michal-z/master
Fixed TracyClient.cpp compile error when using zig cc (#260).
2021-09-14 19:53:28 +02:00
Michal Ziulek
ad97854f12
Fixed compile error when using zig cc. 2021-09-14 19:30:20 +02:00
Bartosz Taudul
d011d65b3c
Merge pull request #255 from graydon/tracy-capture-seconds-argument
Add `-s <seconds>` parameter to capture.cpp
2021-08-26 11:14:23 +02:00
Graydon Hoare
26fd867e52
Add -s <seconds> parameter to capture.cpp 2021-08-25 22:52:23 -07:00
Bartosz Taudul
dfb4020a92
Add missing include for intptr_t. 2021-08-22 13:38:28 +02:00
Bartosz Taudul
673dfd0f02
Update ImGui GLFW and OpenGL 3.x backends.
The new embedded ImGui OpenGL loader has been extended with a couple of
functions and definitions needed by TracyTexture.cpp.
2021-08-22 13:30:46 +02:00
Bartosz Taudul
30445b656f
Update ImGui to 1.84.1 + docking. 2021-08-21 00:52:30 +02:00
Bartosz Taudul
c82bf3915b
Extend thread expansion grace period to half a second.
Previously a framerate-dependent 10 frame count was used.
2021-08-19 00:24:11 +02:00
Bartosz Taudul
38f156259c
Update NEWS. 2021-08-19 00:01:52 +02:00
Bartosz Taudul
fd84b2e026
Vulkan headers must be now manually included. 2021-08-19 00:00:20 +02:00
Bartosz Taudul
e380e3f80e
Merge pull request #249 from lukasberbuer/readme-links
Bundle links in README including latest documentation
2021-08-02 00:40:39 +02:00
Lukas Berbuer
6c3c94b5f4 Bundle links in README including latest documentation 2021-08-01 23:48:45 +02:00
Bartosz Taudul
acccad2772
Merge pull request #248 from lukasberbuer/cmake-options-simplify
Simplify CMake option definition
2021-08-01 13:25:12 +02:00
Lukas Berbuer
a7bbd51c61 Simplify CMake option definition 2021-08-01 13:14:32 +02:00
Bartosz Taudul
7a5270e6f1
Update NEWS. 2021-08-01 13:07:50 +02:00
Bartosz Taudul
36752c67bd
Update AUTHORS. 2021-08-01 13:07:23 +02:00
Bartosz Taudul
7130e27865
Merge pull request #247 from lukasberbuer/cmake-options
Full CMake integration
2021-08-01 13:05:16 +02:00
Lukas Berbuer
958386709f Add documentation for CMake integration 2021-08-01 12:54:31 +02:00
Lukas Berbuer
0fe755fc85 Add options to CMakeLists.txt
Major parts taken from https://github.com/Manu343726/tracy/blob/master/CMakeLists.txt
2021-08-01 12:26:42 +02:00
Bartosz Taudul
0c2b27382e
Update manual. 2021-07-26 01:40:06 +02:00
Bartosz Taudul
b7dbbee149
Update NEWS. 2021-07-26 01:25:49 +02:00
Bartosz Taudul
7304558bdf
Cycle through assembly blocks when right-clicking source line. 2021-07-26 01:21:58 +02:00
Bartosz Taudul
55a966f9c6
Fix assert. 2021-07-26 01:18:17 +02:00
Bartosz Taudul
c222327edb
Silence siunitx errors. 2021-07-25 12:57:52 +02:00
Bartosz Taudul
6f855ebcd4
Update libbacktrace to d0f5e95. 2021-07-25 12:34:11 +02:00
Bartosz Taudul
d2b3182ab6
Update stb_image to 2.27. 2021-07-25 12:05:07 +02:00
Bartosz Taudul
924224501e
Remove exception handler during profiler destruction. 2021-07-25 11:48:27 +02:00
Bartosz Taudul
61c9e8e6d8
Crash handler may be not installed. 2021-07-25 11:46:20 +02:00
Bartosz Taudul
54fa21bcbb
Restore original signal handlers on profiler exit. 2021-07-25 11:40:22 +02:00
JIA-ss
5936e7c86c
Multi Dll Proj will Crash, Under Unity (#244) 2021-07-25 11:28:42 +02:00
Bartosz Taudul
06ae39d9cc
Fix debug build. 2021-07-18 16:34:24 +02:00
Bartosz Taudul
8ea89ad58a
Update manual. 2021-07-18 16:15:32 +02:00
Bartosz Taudul
be3118faab
Update NEWS. 2021-07-18 16:15:32 +02:00
Bartosz Taudul
8b489c95ff
Rename slow branches/cache to branch/cache impact. 2021-07-18 16:15:32 +02:00
Bartosz Taudul
0e603a0997
Render relative hw samples values. 2021-07-18 16:15:32 +02:00
Bartosz Taudul
d0fad4fd39
Rename relative hw samples to "impact". 2021-07-18 16:15:31 +02:00
Bartosz Taudul
83b159b43b
Count hw stats, if relative mode is set. 2021-07-18 15:00:22 +02:00