Skip to content

A simple example for `ztracy` library.

License

Notifications You must be signed in to change notification settings

7R35C0/ztracy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

The repo provides a simple example for ztracy library.

Tested only with zig version 0.12.0 on Linux Fedora 39.

📌 About

The original implementation is here: zig-gamedev/libs/ztracy

The original code for the example itself is here: example

📌 Important

🔔 The library has two repos (releases):

The recommended release to use is the first one.

However, if you get an error like:

$ zig build run
Tracy Profiler initialization failure: CPU doesn't support invariant TSC.
Define TRACY_NO_INVARIANT_CHECK=1 to ignore this error, *if you know what you are doing*.
Alternatively you may rebuild the application with the TRACY_TIMER_FALLBACK define to use lower resolution timer.
...

try to use the second release.

📌 Useful Links

  • zig-gamedev - main monorepo for @zig-gamedev libs and example applications
  • tracy - frame profiler

That's all about this example.

All the best!

About

A simple example for `ztracy` library.

Topics

Resources

License

Stars

Watchers

Forks

Languages