{"id":18456730,"url":"https://github.com/oskarnp/odin-tracy","last_synced_at":"2026-01-24T01:33:06.741Z","repository":{"id":42436724,"uuid":"273454964","full_name":"oskarnp/odin-tracy","owner":"oskarnp","description":"Tracy profiler bindings/wrapper for the Odin programming language","archived":false,"fork":false,"pushed_at":"2024-07-17T19:09:16.000Z","size":6289,"stargazers_count":96,"open_issues_count":6,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-19T08:08:46.107Z","etag":null,"topics":["gamedev","gamedev-library","gamedevelopment","library","odin","odin-lang","odin-programming-language","performance","performance-analysis","profiler","profiling","profiling-library","tool","tracy"],"latest_commit_sha":null,"homepage":"","language":"Odin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oskarnp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T09:30:47.000Z","updated_at":"2025-04-17T22:26:11.000Z","dependencies_parsed_at":"2024-03-23T12:30:17.194Z","dependency_job_id":"d4668ada-75d9-4978-a440-96f1e33e8bf6","html_url":"https://github.com/oskarnp/odin-tracy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarnp%2Fodin-tracy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarnp%2Fodin-tracy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarnp%2Fodin-tracy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarnp%2Fodin-tracy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oskarnp","download_url":"https://codeload.github.com/oskarnp/odin-tracy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250308093,"owners_count":21409203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gamedev","gamedev-library","gamedevelopment","library","odin","odin-lang","odin-programming-language","performance","performance-analysis","profiler","profiling","profiling-library","tool","tracy"],"created_at":"2024-11-06T08:12:34.431Z","updated_at":"2026-01-24T01:33:01.718Z","avatar_url":"https://github.com/oskarnp.png","language":"Odin","funding_links":[],"categories":["Bindings"],"sub_categories":["Vendor"],"readme":"# Tracy Profiler\n\n## A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.\n\nThis is a bindings/wrapper library for the Odin programming language.\n\n![image](https://github.com/wolfpld/tracy/raw/master/doc/profiler.png)\n\n![image](https://github.com/wolfpld/tracy/raw/master/doc/profiler2.png)\n\n![image](https://github.com/wolfpld/tracy/raw/master/doc/profiler3.png)\n\n## 0. Prerequisites\nThis assumes you are using the latest nightly build or GitHub master of the Odin compiler.   Since Odin is still under development this means these bindings might break in the future. Please create an issue or PR if that happens.\n\n## 1. Cloning the sources\n```console\ngit clone --recurse-submodules https://github.com/oskarnp/odin-tracy\n```\nOr if you already had this repo cloned:\n```console\ngit submodule update --init\n```\n\n## 2. Building the Tracy profiler server\n\n### Mac OS\n#### Install dependencies\n```console\nbrew install pkg-config glfw freetype capstone\n```\n#### Build profiler server\n```console\ncd tracy/profiler/build/unix\nmake release\n```\n#### Run profiler server\n```console\n./tracy/profiler/build/unix/Tracy-release\n```\n\n## Windows\n#### Install dependencies\nThis will download and install external dependencies (glfw3, libcapstone, libfreetype) to vcpkg local directory. This writes files only to the vcpkg\\vcpkg directory and makes no other changes on your machine.\n```console\ncd tracy\\vcpkg\ninstall_vcpkg_dependencies.bat\n```\n#### Build profiler server\nThis requires Visual Studio installed. Open \"x64 Native Tools Command Prompt for VS 20XX\" and run commands below.\n```console\ncd tracy\\profiler\\build\\win32\nmsbuild Tracy.sln -t:Build -p:Configuration=Release\n```\n(or open solution with Visual Studio and build from there)\n#### Run profiler server\n```console\nx64\\Release\\Tracy.exe\n```\n\n## Linux\n\n### Install dependencies\n* pkg-config\n* freetype2\n* capstone\n* glfw3 (glfw-x11)\n  * (Only required if using LEGACY=1 below, otherwise not required and\n    profiler server will use Wayland instead.)\n\n#### Build profiler server\n```console\ncd tracy/profiler/build/unix\nmake release LEGACY=1\n```\n\u003e [!NOTE]\n\u003e Remove LEGACY=1 above to use Wayland instead of GLFW.\n\n#### Run profiler server\n```console\n./tracy/profiler/build/unix/Tracy-release\n```\n\n## 3. Building the Tracy profiler client library\n\n### Mac OS\n```console\nc++ -stdlib=libc++ -mmacosx-version-min=10.8 -std=c++11 -DTRACY_ENABLE -O2 -dynamiclib tracy/public/TracyClient.cpp  -o tracy.dylib\n```\n### Windows\n```console\ncl -MT -O2 -DTRACY_ENABLE -c tracy\\public\\TracyClient.cpp -Fotracy\nlib tracy.obj\n```\n### Linux\n```console\nc++ -std=c++11 -DTRACY_ENABLE -O2 tracy/public/TracyClient.cpp -shared -fPIC -o tracy.so\n```\n\n## 4. (Optional) Run the demo application / profiler client\n\n```console\nodin run demo -define:TRACY_ENABLE=true\n```\n\nand then click Connect in Tracy profiler server.\n\n\u003e [!TIP]\n\u003e Run the profiled application (e.g. `demo`) in privileged mode\n  (sudo/administrator) to enable even more features in Tracy.\n\n\n---\n\n\u003e [!IMPORTANT]\n\u003e For more details on how to use Tracy, please refer to the [official manual](https://github.com/wolfpld/tracy/releases/download/v0.10/tracy.pdf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foskarnp%2Fodin-tracy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foskarnp%2Fodin-tracy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foskarnp%2Fodin-tracy/lists"}