profiling-api
Installation
SKILL.md
Profiling API — Instrumenting Kit-Based Code
How to add profiling zones, metrics, and annotations to C++ and Python code in the Carbonite/Kit ecosystem.
For capturing traces, see the profiling skill. For analyzing them, see nsys-analyze.
C++ Profiling Macros
Source: carb/profiler/Profile.h
Scope-Based Zone (most common)
#include <carb/profiler/Profile.h>
constexpr const uint64_t kProfilerMask = 1;