Commit Graph

7928 Commits

Author SHA1 Message Date
Bartosz Taudul
1a4f369d4a
Backport 19471da from ImGui.
https://github.com/ocornut/imgui/issues/4920
2022-02-03 01:59:56 +01:00
Bartosz Taudul
f058ad01fc
Don't process ring buffers when not connected in on-demand mode. 2022-01-31 20:53:10 +01:00
Bartosz Taudul
361782f3fd
Fix edge case triggered by mouse being out-of-window. 2022-01-29 15:53:50 +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
32173dca29
Update NEWS. 2022-01-29 15:35:52 +01:00
Bartosz Taudul
f4043d9bb8
Display GPU zone statistics. 2022-01-29 15:35:25 +01:00
Bartosz Taudul
45c7edcc96
GPU source locations zones data accessor. 2022-01-29 15:22:49 +01:00
Bartosz Taudul
6d55f79109
Save source location data counts. 2022-01-29 15:14:43 +01:00
Bartosz Taudul
2ca4b0058a
Add AreGpuSourceLocationZonesReady() query. 2022-01-29 00:51: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
7870ca9da6
Add GPU mutable children accessor. 2022-01-29 00:40:11 +01:00
Bartosz Taudul
7a1b9efc2f
Add GPU statistics radio button. 2022-01-29 00:33:53 +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
8533bdf5f4
Add data structures for GPU statistics. 2022-01-29 00:15:31 +01:00
Bartosz Taudul
fcced3c76a
Don't call SameLine() twice in a row. 2022-01-29 00:15:31 +01:00
Bartosz Taudul
3ee91b909f
Unify comparison for accumulation mode combo box. 2022-01-29 00:15:28 +01:00
Bartosz Taudul
f3f5f1dab8
Merge pull request #313 from cloudhan/update-opencl
Update OpenCL
2022-01-28 12:01:00 +01:00
Cloud Han
c9fb07ffe5 remove blocking collect 2022-01-28 11:55:42 +08:00
Bartosz Taudul
701ecdebaa
Merge pull request #317 from hulakdar/master
Fix MSVC warnings
2022-01-26 21:46:25 +01:00
hulakdar
e98f7e5019 Fix potentially unitialized value warning 2022-01-26 21:08:54 +02:00
hulakdar
9fda60820a Silence padding warnings, as this is intended behaviour 2022-01-26 21:08:54 +02:00
Cloud Han
f6769ecb91 better error discoverability if queue is not created with CL_QUEUE_PROFILING_ENABLE 2022-01-25 12:59:35 +08:00
Cloud Han
9b60c4970e better example 2022-01-25 12:59:35 +08:00
Cloud Han
21b748ac84 add back non-blocking collect 2022-01-25 12:59:28 +08:00
Cloud Han
d660425e00 mute warnings 2022-01-25 12:17:11 +08:00
Cloud Han
f8d231bbc9 stop using macro in TRACY_CL_CHECK_ERROR 2022-01-25 12:17:11 +08:00
Cloud Han
e28c562a20 add log and simple statistics for async kernel 2022-01-25 12:17:04 +08:00
Cloud Han
f6894c8d6c Make OpenCL example async 2022-01-25 12:17:03 +08:00
Cloud Han
d5d0a8676e Update OpenCL support for better error discoverability
Solely rely on `assert` make the error undiscoverable because it only
works if NDEBUG is not defined. Always log with TracyMessage for Release
build.
2022-01-25 12:17:03 +08:00
Bartosz Taudul
8331df64be
Merge pull request #315 from hulakdar/master
Actually check for the required feature
2022-01-22 12:38:26 +01:00
hulakdar
683fcbe5a4 Actually check for the required feature 2022-01-22 11:24:59 +02:00
Bartosz Taudul
332c3aa242
Merge pull request #314 from Dantali0n/fix-opencl-vectoradd
Fix OpenCLVectorAdd example
2022-01-20 13:03:28 +01:00
Bartosz Taudul
94bcc6ffcc
Update OpenCLVectorAdd.cpp
Cosmetics.
2022-01-20 13:02:38 +01:00
Dantali0n
e73d21f5da Bump OpenCLVectorAdd cmake version to 3.10 2022-01-20 12:44:00 +01:00
Dantali0n
1120f0b07e Cross platform solution to linking OpenCLVectorAdd libraries 2022-01-20 12:42:51 +01:00
Dantali0n
bff83aab4a Fix OpenCLVectorAdd example 2022-01-20 11:09:33 +01:00
Bartosz Taudul
7cdf640a82
Merge pull request #312 from Honeybunch/master
Fixing CMake Install
2022-01-13 00:50:47 +01:00
Honeybunch
12b0631f28 Merge branch 'master' of https://github.com/wolfpld/tracy 2022-01-12 14:59:04 -08:00
Honeybunch
a7fbfba27d Fixing install 2022-01-12 14:57:41 -08:00
Bartosz Taudul
fd4f458e3d
Merge pull request #308 from JaldertVicarious/manual-wording-fix
[Minor] wording fix
2022-01-06 13:40:28 +01:00
Jaldert Rombouts
00e1cbcefe
[Minor] wording fix 2022-01-06 10:29:37 +00:00
Bartosz Taudul
4731bb9ec1
Cast GetProcAddress() ptr to const void*. 2022-01-05 20:03:20 +01:00
Bartosz Taudul
199b6ba798
Update copyright date in LICENSE. 2022-01-01 17:43:38 +01:00
Bartosz Taudul
8089040e64
CallTrace() is no longer present. 2022-01-01 17:35:01 +01:00
Bartosz Taudul
621c68352b
Call RtlWalkFrameChain directly from inlined function. 2022-01-01 17:33:39 +01:00
Bartosz Taudul
f5bfb47ec1
Fix line endings. 2022-01-01 17:02:05 +01:00
Bartosz Taudul
c6da04a18b
Use TooltipIfHovered() where appropriate. 2022-01-01 16:57:48 +01:00
Bartosz Taudul
d5f12744c4
Display unique node cost in trees. 2022-01-01 16:27:16 +01:00