tracy README

The project's README from github.com/wolfpld/tracy. As one markdown file: README.md.

Tracy Profiler

Sponsor

A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Tracy supports profiling CPU (Direct support is provided for C, C++, Lua, Python and Fortran integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphics/compute APIs: OpenGL, Vulkan, Direct3D 11/12, Metal, OpenCL, CUDA, WebGPU.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.

An Introduction to Tracy Profiler in C++ - Marcos Slomp - CppCon 2023

Introduction to Tracy Profiler v0.2
New features in Tracy Profiler v0.3
New features in Tracy Profiler v0.4
New features in Tracy Profiler v0.5
New features in Tracy Profiler v0.6
New features in Tracy Profiler v0.7
New features in Tracy Profiler v0.8

tracy (wolfpld/tracy)

Searching Database…

17K ·GitHub
这是什么?Tracy 是一款用于游戏及其他应用的实时、纳秒级精度的帧与采样性能分析工具,基于远程遥测技术,可以通过独立的查看器对正在运行的程序进行性能分析。
这是可以嵌入的库,还是独立的性能分析应用?两者皆是:你需要将轻量级客户端库链接到你的 C/C++(或其他受支持的语言)程序中以发送遥测数据,然后通过 Tracy 独立的分析器/查看器应用连接它,实时捕获并查看数据。
怎么让它跑起来?从 Releases 页面获取已编译的 Windows x64 版本二进制文件和文档(tracy.pdf),或者按照文档中适用于你所用平台的构建流程从源代码编译。
可以直接为哪些语言添加插桩?Tracy 直接支持 C、C++、Lua、Python 和 Fortran;社区维护的绑定还支持 Rust、Zig、C#、OCaml、Odin 等语言。
它支持哪些 GPU API 进行 GPU 性能分析?它涵盖所有主流图形和计算 API:OpenGL、Vulkan、Direct3D 11/12、Metal、OpenCL、CUDA 和 WebGPU。
它只支持 Windows,还是也能在 Linux 和移动端上运行?除了发布版中提供的 Windows 二进制文件外,项目的持续集成会构建并测试 Linux、Android 和 WebAssembly(通过 Emscripten)目标,因此可用于桌面、移动端和网页场景。
除了帧耗时,Tracy 还能捕获哪些类型的事件?它可以追踪 CPU 和 GPU 耗时、内存分配、锁竞争、上下文切换,还能自动把截图附加到捕获的帧上。
安装之前能先试用 Tracy 吗?可以,README 中提供了交互式演示的链接,你可以先在浏览器中探索性能分析器的界面和功能。
Tracy 是新项目还是仍在积极维护的项目?README 中链接了一份更新日志,涵盖 v0.2 至 v0.8 的各个版本,每个版本都有新功能;另外还有一场 CppCon 2023 的演讲,表明项目长期处于活跃开发中。
What are similar projects?scalene, py-spy, bgfx, assimp, memray, rpcs3, imgui, egui
Creator
wolfpld
Size
54.4 MB
Stars
17K
Age
6y
Commits · 90 Days