PER.Tracy 0.1.0-preview

This is a prerelease version of PER.Tracy.
This package has a SemVer 2.0.0 package version: 0.1.0-preview+tracy.0.8.2.1.
dotnet add package PER.Tracy --version 0.1.0-preview
NuGet\Install-Package PER.Tracy -Version 0.1.0-preview
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="PER.Tracy" Version="0.1.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PER.Tracy --version 0.1.0-preview
#r "nuget: PER.Tracy, 0.1.0-preview"
#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.
// 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

  1. clone the repo git clone https://github.com/cgytrus/PER.Tracy
  2. cd into native project directory cd ./PER.Tracy/PER.Tracy.Native
  3. create build directory mkdir ./build/win-x64/mkdir ./build/linux-x64
  4. cd into build directory cd ./build/win-x64/cd ./build/linux-x64
  5. configure cmake cmake ../../
  6. build native project cmake --build . --config Release
  7. build solution cd ../../ && dotnet build -c Release
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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