Skip to content

Commit

Permalink
Bumping the tracy version to 0.7.7 (WIP). (#5272)
Browse files Browse the repository at this point in the history
This gets a bunch of tracy perf improvements, improved source code viewing
(and a neat quick-peek feature), and bugfixes. Most importantly it adds
the GPU zone feature for external source locations, which we need to track
dispatches back to MLIR locations in vulkan tracing.
  • Loading branch information
benvanik authored Mar 31, 2021
1 parent 3616323 commit 494fe32
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion SUBMODULE_VERSIONS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ d8c7ee00a687ac369e62e2032514a93a9b413502 third_party/pybind11
685f86471e9d26b3eb7676695a2e2cefb4551ae9 third_party/spirv_cross
f8bf11a0253a32375c32cad92c841237b96696c0 third_party/spirv_headers
da3da1e8a81a9866d98bcfe54eb21ec27cab7000 third_party/tensorflow
8732f0e94e4e41049a43029202bda94d7b4e85da third_party/tracy
e35d02186d00eff26ec6c698331a0767a28a51b0 third_party/tracy
9bd3f561bcee3f01d22912de10bb07ce4e23d378 third_party/vulkan_headers
3528e2aed3e8808f33e1e7d63eeb1560456a605a third_party/vulkan_memory_allocator
54e82ec439552018d0f26c60b0fd6cc9e36b42a8 third_party/wasm-micro-runtime
13 changes: 0 additions & 13 deletions iree/base/tracing.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,19 +448,6 @@ enum {

#else

// TODO(benvanik): bump submodule when upstream patch lands:
// https://github.com/wolfpld/tracy/pull/191
#ifdef __cplusplus
extern "C" {
#endif
TRACY_API void ___tracy_emit_memory_alloc_named(const void* ptr, size_t size,
int secure, const char* name);
TRACY_API void ___tracy_emit_memory_free_named(const void* ptr, int secure,
const char* name);
#ifdef __cplusplus
} // extern "C"
#endif

#define IREE_TRACE_ALLOC(ptr, size) ___tracy_emit_memory_alloc(ptr, size, 0)
#define IREE_TRACE_FREE(ptr) ___tracy_emit_memory_free(ptr, 0)
#define IREE_TRACE_ALLOC_NAMED(name, ptr, size) \
Expand Down
2 changes: 1 addition & 1 deletion third_party/tracy
Submodule tracy updated 52 files
+1 −1 AUTHORS
+1 −1 LICENSE
+31 −0 NEWS
+5 −1 Tracy.hpp
+16 −12 TracyC.h
+3 −3 capture/build/win32/capture.vcxproj
+26 −11 client/TracyProfiler.cpp
+5 −2 client/TracyProfiler.hpp
+2 −0 client/TracyScoped.hpp
+3 −3 csvexport/build/win32/csvexport.vcxproj
+15 −4 imgui/imconfig.h
+635 −411 imgui/imgui.cpp
+237 −165 imgui/imgui.h
+219 −98 imgui/imgui_demo.cpp
+347 −118 imgui/imgui_draw.cpp
+152 −97 imgui/imgui_internal.h
+50 −25 imgui/imgui_tables.cpp
+183 −139 imgui/imgui_widgets.cpp
+1 −1 imgui/imstb_truetype.h
+30 −0 imgui/misc/freetype/README.md
+164 −75 imgui/misc/freetype/imgui_freetype.cpp
+50 −0 imgui/misc/freetype/imgui_freetype.h
+3 −3 import-chrome/build/win32/import-chrome.vcxproj
+3 −1 manual/techdoc.tex
+8 −8 manual/tracy.tex
+12 −8 profiler/build/unix/build.mk
+8 −0 profiler/build/win32/Tracy.manifest
+16 −8 profiler/build/win32/Tracy.vcxproj
+27 −6 profiler/build/win32/Tracy.vcxproj.filters
+756 −1,253 profiler/libs/gl3w/GL/gl3w.c
+1,365 −1,210 profiler/libs/gl3w/GL/gl3w.h
+4,741 −3,318 profiler/libs/gl3w/GL/glcorearb.h
+290 −0 profiler/libs/gl3w/KHR/khrplatform.h
+0 −36 profiler/src/imgui_freetype.h
+9 −4 profiler/src/imgui_impl_glfw.cpp
+2 −1 profiler/src/imgui_impl_glfw.h
+4 −3 profiler/src/imgui_impl_opengl3.cpp
+17 −9 profiler/src/main.cpp
+4 −3 server/TracyEvent.hpp
+28 −2 server/TracyImGui.hpp
+120 −0 server/TracySortedVector.hpp
+89 −0 server/TracySourceContents.cpp
+43 −0 server/TracySourceContents.hpp
+314 −0 server/TracySourceTokenizer.cpp
+54 −0 server/TracySourceTokenizer.hpp
+147 −472 server/TracySourceView.cpp
+6 −53 server/TracySourceView.hpp
+243 −122 server/TracyView.cpp
+4 −3 server/TracyView.hpp
+79 −89 server/TracyWorker.cpp
+9 −4 server/TracyWorker.hpp
+3 −3 update/build/win32/update.vcxproj

0 comments on commit 494fe32

Please sign in to comment.