Commit Graph

412 Commits

Author SHA1 Message Date
Bartosz Taudul
2bef3629b7
Merge pull request #74 from avoroshilov/manual-lifetime
Manual lifetime management for Multi-DLL
2020-07-19 12:06:11 +02:00
Bartosz Taudul
29c249b33b Update manual. 2020-07-17 22:40:45 +02:00
Bartosz Taudul
08172556fc Add note about GPU zone scope to the manual. 2020-07-17 13:13:54 +02:00
Bartosz Taudul
9ce46fdf2d Update manual. 2020-07-16 11:31:39 +02:00
Andrey Voroshilov
cbfb19816b Merge remote-tracking branch 'tracy/master' into manual-lifetime
# Conflicts:
#	AUTHORS
2020-07-13 01:49:11 -07:00
Andrey Voroshilov
bd5d965023 Updating manual and AUTHORS 2020-07-13 01:41:25 -07:00
Bartosz Taudul
125658a3eb Update manual. 2020-07-12 00:22:11 +02:00
Bartosz Taudul
7b98d50e27
Merge pull request #66 from kubouch/csv-export
CSV export of zone statistics from .tracy file
2020-07-11 16:27:42 +02:00
Bartosz Taudul
a72fde03f4 Update manual. 2020-07-11 14:13:15 +02:00
kubouch
254fc9fc7a Add manual entry for csvexport 2020-07-11 12:26:01 +03:00
Bartosz Taudul
0977952bde Update manual. 2020-07-09 00:21:21 +02:00
Andrew Depke
239e77db68 Updated manual 2020-07-08 16:10:19 -06:00
Bartosz Taudul
660f2cec7f Update manual. 2020-07-07 21:40:56 +02:00
Bartosz Taudul
a15964b2dc Clarify manual language. 2020-07-05 12:15:41 +02:00
Bartosz Taudul
08cd115db6 Update manual. 2020-07-04 12:46:27 +02:00
Bartosz Taudul
1975c1897d Update manual. 2020-07-04 12:03:00 +02:00
Bartosz Taudul
64bcf2893f Update manual. 2020-06-27 20:04:50 +02:00
Bartosz Taudul
37ea159646 Update manual. 2020-06-24 01:54:51 +02:00
Simonas Kazlauskas
29886435b4 ___tracy_alloc_* take pointer-size pairs
This enables better bindings in languages that do not have 0-terminated
strings for source/function name. It does not introduce any additional
overhead in languages that do use 0-terminated strings, either, but it
_is_ a breaking API change.

Fixes https://github.com/wolfpld/tracy/issues/53
2020-06-20 20:35:42 +03:00
Bartosz Taudul
5ccd62ced8
Merge pull request #52 from nagisa/nagisa/tracy-init-thread
Add ___tracy_init_thread function
2020-06-20 16:45:56 +02:00
Simonas Kazlauskas
6d74f4e8ff Extract manual changes into a separate section
The functions in the extracted section are mostly intended to be used
with bindings, so it made sense to give them their dedicated and
appropriately named section.
2020-06-20 17:32:35 +03:00
Simonas Kazlauskas
a110b42011 Add ___tracy_init_thread function
This function needs to be called for each non-main thread before calling
the `___tracy_alloc_` functions.

Alternative way to achieve this could be initializing the allocator
transparently in the `___tracy_alloc_*` calls.
2020-06-20 04:22:32 +03:00
Bartosz Taudul
5610bd0f8b Add information on how to build utilities. 2020-06-19 17:35:24 +02:00
Bartosz Taudul
634b0933d1 Update manual. 2020-06-12 11:41:12 +02:00
Bartosz Taudul
9c1dd6d498 Make manual zone scope management more prominent. 2020-06-12 11:29:53 +02:00
Bartosz Taudul
e932cbe162 Add missing OpenCL mentions. 2020-06-09 18:17:43 +02:00
Andrew Depke
39479b8d93
Merge branch 'master' into master 2020-06-08 23:50:20 -06:00
Andrew Depke
7127e36217 Detailed TracyD3D12NewFrame and synchronization 2020-06-08 23:40:16 -06:00
Bartosz Taudul
284d49b34b Change rdtscp check to rdtsc check. 2020-06-08 19:35:42 +02:00
Bartosz Taudul
1e8c842444 Update manual. 2020-06-08 18:27:41 +02:00
Andrew Depke
d15b83b669 Updated manual for Direct3D 12 2020-06-07 02:05:51 -06:00
Bartosz Taudul
bee70ee72b Add OpenCL to description. 2020-06-06 15:37:16 +02:00
Bartosz Taudul
eb497f2b9f Symbol resolution should be possible on iOS. 2020-06-06 15:00:57 +02:00
Thales Sabino
a46f83364e Add OpenCL trace support
- Adds the file TracyOpenCL.hpp which contains the API to annotate OpenCL applications
- It works in a similar fashion to the Vulkan annotations
- Adds an example OpenCL application in examples/OpenCLVectorAdd
- Adds "OpenCL Context" to the UI
- Manual entry for annotating OpenCL zones
2020-06-05 10:15:47 +01:00
Bartosz Taudul
215a58afad Mention dsymutil. 2020-06-04 17:58:48 +02:00
Bartosz Taudul
940b598cf8 Update manual. 2020-05-30 15:39:35 +02:00
Bartosz Taudul
8d149c59f8 Mention the failures of capstone library. 2020-05-30 15:39:34 +02:00
Graydon Hoare
e76b8ae423
Add TRACY_ONLY_LOCALHOST macro to avoid listening on all interfaces. 2020-05-28 22:13:06 -07:00
Graydon Hoare
afac7760ce
Add Zone{Text,Value,Name}V macros for conditionally-compiled calls to varname.{Text,Value,Name} 2020-05-28 11:17:42 -07:00
Bartosz Taudul
39ce605711 Update manual. 2020-05-25 01:19:42 +02:00
Bartosz Taudul
e0d7ffe754 Update manual. 2020-05-24 16:25:26 +02:00
Bartosz Taudul
08101061fe Update manual. 2020-05-23 16:10:13 +02:00
Bartosz Taudul
8c1e53f65a Update manual. 2020-05-16 14:56:11 +02:00
Bartosz Taudul
ef4c690c32 Update manual. 2020-05-13 18:06:39 +02:00
Bartosz Taudul
2195e032a6 Update manual. 2020-05-11 22:11:55 +02:00
Bartosz Taudul
a30a0b852f Update manual. 2020-05-11 19:34:25 +02:00
Bartosz Taudul
94d0232ed3 Update manual. 2020-05-10 17:08:30 +02:00
Bartosz Taudul
281f13f4c3 Update manual. 2020-05-09 13:57:06 +02:00
Bartosz Taudul
b9a4446fc1 Update manual. 2020-05-09 13:38:58 +02:00
Rokas Kupstys
6727cc2da4 Add empty TRACY_API instead of using dllexport for static builds on windows. Using dllexport is not correct, because it marks APIs in static lib for export and these APIs would get exported from a DLL that links to tracy.
Make API use TRACY_EXPORTS, and replace TRACYPROFILER_EXPORTS with TRACY_EXPORTS in vcxproj projects.

Swap dllimport with dllexport. Reason for this is a common idiom in CMake: target_compile_definitions(tracy PUBLIC -DTRACY_IMPORTS PRIVATE -DTRACY_EXPORTS). This idiom adds both defines in tracy target, but targets that link to tracy only get TRACY_IMPORTS. Swapped statements ensure that tracy always dllexports it's api and consuming targets always dllimport it.
2020-05-05 13:23:46 +03:00