PER.Tracy
0.1.0-preview
dotnet add package PER.Tracy --version 0.1.0-preview
NuGet\Install-Package PER.Tracy -Version 0.1.0-preview
<PackageReference Include="PER.Tracy" Version="0.1.0-preview" />
paket add PER.Tracy --version 0.1.0-preview
#r "nuget: PER.Tracy, 0.1.0-preview"
// Install PER.Tracy as a Cake Addin
#addin nuget:?package=PER.Tracy&version=0.1.0-preview&prerelease
// Install PER.Tracy as a Cake Tool
#tool nuget:?package=PER.Tracy&version=0.1.0-preview&prerelease
PER.Tracy
Unofficial C# bindings for Tracy
This project is not related to Tracy Profiler, this is a third-party project
The version of the package might not match the actual version of Tracy being used
its called per.tracy instead of like tracy.net or smth cuz i initially made it for my engine
syntax almost the same as in c++ achieved using Metalama
Usage
enable by defining TracyEnable
:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<DefineConstants>TracyEnable</DefineConstants>
</PropertyGroup>
</Project>
call Profiler.<TracyMacroName>
to use the profiler (without N/C/NC suffix)
only string literals are supported for string arguments!!
Automatic zones
Enable automatic zones to add a zone to every method in every type in your project and projects that depend on your project
To enable automatic zones, define TracyAutoZones
:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<DefineConstants>TracyEnable;TracyAutoZones</DefineConstants>
</PropertyGroup>
</Project>
Building
- clone the repo
git clone https://github.com/cgytrus/PER.Tracy
- cd into native project directory
cd ./PER.Tracy/PER.Tracy.Native
- create build directory
mkdir ./build/win-x64
/mkdir ./build/linux-x64
- cd into build directory
cd ./build/win-x64
/cd ./build/linux-x64
- configure cmake
cmake ../../
- build native project
cmake --build . --config Release
- build solution
cd ../../ && dotnet build -c Release
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Metalama.Framework (>= 0.5.28-preview)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-preview | 131 | 7/20/2022 |