1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

8006 Commits

Author SHA1 Message Date
Bartosz Taudul aa4878bb8e Bind viewporter. 2024-03-23 22:27:49 +01:00
Bartosz Taudul 475b022ed8 Generate viewporter protocol. 2024-03-23 22:27:49 +01:00
Bartosz Taudul 0e458447ff Don't keep opening terminal on launch. 2024-03-23 22:27:49 +01:00
Bartosz Taudul 2bfa540656 Bind fractional scale manager. 2024-03-23 22:27:48 +01:00
Bartosz Taudul 3342254a0e Generate fractional-scale protocol. 2024-03-23 22:27:46 +01:00
Bartosz Taudul e10fc58bf5 Merge pull request #759 from Chekov2k/segfault
Fix segfault in Python bindings for TRACE_ENABLE=OFF case
2024-03-23 19:17:21 +01:00
Arnim Balzer 93be1d9343 Fix segfault in Python bindings for TRACE_ENABLE=OFF case 2024-03-23 17:51:16 +00:00
Bartosz Taudul 55be66cdf8 Update NEWS. 2024-03-23 13:56:25 +01:00
Bartosz Taudul 4c1b06034b Display program run time percentage in lines selection summary. 2024-03-23 13:54:39 +01:00
Bartosz Taudul ef9f2d247d Add display of per-line sample time as a program run time percentage. 2024-03-23 13:50:00 +01:00
Bartosz Taudul adbee2f820 Update NEWS. 2024-03-23 12:15:47 +01:00
Bartosz Taudul 828e52f5c4 Merge pull request #754 from Chekov2k/python
Added basic Python Support
2024-03-23 11:57:02 +01:00
Arnim Balzer 505afc8f77 Document other CMake options and fix tex errors 2024-03-23 06:45:12 +00:00
Arnim Balzer 059f1487af Option to disable use of external pybind11 2024-03-23 06:45:12 +00:00
Arnim Balzer d65d96191a Added basic Python Support
Supported:
 - FrameMarks
 - ScopedZones
 - Memory allocations
 - Plots
 - ThreadNames
 - Messages
 - AppConfig

Not supported:
 - GPU
2024-03-23 06:45:12 +00:00
Bartosz Taudul e38d9fa7ce Use mold linker if available. 2024-03-23 02:08:36 +01:00
Bartosz Taudul 8a411a72b8 Merge pull request #757 from JBurnWork/noCallstackUpdates
Updates to address compilation with TRACY_NO_CALLSTACK
2024-03-23 01:26:42 +01:00
Bartosz Taudul 3d70a61436 Update manual. 2024-03-23 00:48:43 +01:00
Bartosz Taudul 9e6be031c1 Don't install capstone on CI. 2024-03-23 00:36:52 +01:00
Bartosz Taudul afceec59aa Enable AVX2 code generation on MSVC. 2024-03-22 22:07:43 +01:00
Jeff Burnett 18352366f7 Still use named mem pool if no callstacks
Forward MemAllocCallstackNamed() and MemFreeCallstackNamed() to
MemAllocNamed() and MemFreeNamed if callstack capture is off.
2024-03-22 09:50:05 -05:00
Jeff Burnett 278330af5b Fix build warnings for TRACY_NO_CALLSTACK
Fix build warnings about undefined TRACY_HAS_CALLSTACK and an unused
argument for Callstack() when TRACY_NO_CALLSTACK is defined.
2024-03-22 09:50:05 -05:00
Bartosz Taudul aac38a7deb Update CI.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-22 13:49:08 +01:00
Bartosz Taudul 8b8cd7d28b Add -pthread to emscripten compile and link commands. 2024-03-21 23:04:41 +01:00
Bartosz Taudul 434d73c7bd Emscripten support.
Doesn't work due to i64 vs i32 type mismatch in glGetIntegerv, which
seems like some general compatibility bullshit, not something related
to CMake.
2024-03-21 23:04:41 +01:00
Bartosz Taudul 8ee866e840 Update git ignores. 2024-03-21 23:04:40 +01:00
Bartosz Taudul fec5e6bb9c UNIX variable is true on Apple. 2024-03-21 23:04:40 +01:00
Bartosz Taudul a2fdd3638c Change CMake build dir to "build". 2024-03-21 23:04:40 +01:00
Bartosz Taudul 7f8a2e2c9a Remove old build files. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 1df45c00c0 Generate private-code with wayland-scanner. 2024-03-21 23:04:40 +01:00
Bartosz Taudul bde0c63006 Generate Wayland protocol sources. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 71bde8d11a Add wayland-scanner CMake module.
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/find-modules/FindWaylandScanner.cmake
https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake

3dba889fef06c8760edab41159b98aaa4150b9b5
2024-03-21 23:04:40 +01:00
Bartosz Taudul 4c6f6332b0 Copy compile_commands.json to workspace root. 2024-03-21 23:04:40 +01:00
Bartosz Taudul 1a3131178d Link update with dbghelp. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 148eac2c24 Link with getopt. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 06244c0def Provide sane default config for VS Code CMake extension. 2024-03-21 23:04:39 +01:00
Bartosz Taudul f523521831 Fix copypasta. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 25898a9c7a Enable LTO. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 4bfd6f42bc Add CMake build files for the rest of the utilites. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 46718851da Extract some common definitions. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 375f4526df Set TRACY_VERSION_STRING directly in version.cmake. 2024-03-21 23:04:39 +01:00
Bartosz Taudul 776b08f2e0 Split core server files from the UI. 2024-03-21 23:04:38 +01:00
Bartosz Taudul cc4ed68271 Extract common set of server files to a separate cmake build file.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-21 23:04:38 +01:00
Bartosz Taudul 35246b4191 Remove vcpkg. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 269c75103e Windows build fixes.
- Include manifest.
- Add icon.
- Set subsystem to Windows.
2024-03-21 23:04:38 +01:00
Bartosz Taudul 2c4abf5f9f Link with winsock on Windows. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 58115b35c5 Fix non-wayland build. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 970250fc85 Another stupid macro needed for MSVC to not crap the pants. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 1bada6a6fd Set NOMINMAX on win32. 2024-03-21 23:04:38 +01:00
Bartosz Taudul 699d93c7ae Provide a list of recommended VS Code extensions. 2024-03-21 23:04:37 +01:00