Tracy-CSharp 0.11.1

dotnet add package Tracy-CSharp --version 0.11.1
                    
NuGet\Install-Package Tracy-CSharp -Version 0.11.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tracy-CSharp" Version="0.11.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tracy-CSharp" Version="0.11.1" />
                    
Directory.Packages.props
<PackageReference Include="Tracy-CSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tracy-CSharp --version 0.11.1
                    
#r "nuget: Tracy-CSharp, 0.11.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Tracy-CSharp&version=0.11.1
                    
Install Tracy-CSharp as a Cake Addin
#tool nuget:?package=Tracy-CSharp&version=0.11.1
                    
Install Tracy-CSharp as a Cake Tool

Tracy-CSharp

C# bindings for https://github.com/wolfpld/tracy with native dynamic link libraries based on imgui-cs.

How to use

Sample C# project

using (Profiler.BeginEvent())
{
    // Code to profile
}
Profiler.ProfileFrame("Main"); // Put this after you have completed rendering the frame. 
                                   // Ideally that would be right after the swap buffers command. 
                                   // Note that this step is optional, as some applications 
                                   // (for example: a compression utility) 
                                   // do not have the concept of a frame

Developers: Documentation

For more information on how C# bindings work, see C2CS, the tool that generates the bindings for Tracy and other C libraries.

To learn how to use Tracy, check out the official readme.

License

Tracy-CSharp is licensed under the MIT License (MIT) - see the LICENSE file for details.

Tracy itself is licensed under BSD license (BSD) - see https://github.com/wolfpld/tracy/blob/master/LICENSE for more details.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Tracy-CSharp:

Package Downloads
TracyWrapper

A C# wrapper to easily interop with Tracy Profiler

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.11.1 1,081 9/17/2024
0.11.1-hotfix 386 10/7/2024
0.10.0.2 329 10/23/2023