21#if defined(NVTX_AS_SYSTEM_HEADER)
23#pragma clang system_header
24#elif defined(__GNUC__) || defined(__NVCOMPILER)
25#pragma GCC system_header
26#elif defined(_MSC_VER)
34#ifndef NVTX_SEMANTIC_ID_COUNTERS_V1
35#define NVTX_SEMANTIC_ID_COUNTERS_V1 5
38#define NVTX_COUNTER_SEMANTIC_VERSION 2
41#define NVTX_COUNTER_FLAGS_NONE 0
48#define NVTX_COUNTER_FLAG_NORMALIZE (1 << 1)
54#define NVTX_COUNTER_FLAG_LIMIT_MIN (1 << 2)
55#define NVTX_COUNTER_FLAG_LIMIT_MAX (1 << 3)
56#define NVTX_COUNTER_FLAG_LIMITS \
57 (NVTX_COUNTER_FLAG_LIMIT_MIN | NVTX_COUNTER_FLAG_LIMIT_MAX)
62#define NVTX_COUNTER_FLAG_VALUETYPE_ABSOLUTE (1 << 4)
64#define NVTX_COUNTER_FLAG_VALUETYPE_DELTA (2 << 4)
65#define NVTX_COUNTER_FLAG_VALUETYPE_DELTA_SINCE_START (3 << 4)
69#define NVTX_COUNTER_FLAG_VALUETYPES (3 << 4)
75#define NVTX_COUNTER_FLAG_INTERPOLATION_POINT (1 << 8)
77#define NVTX_COUNTER_FLAG_INTERPOLATION_SINCE_LAST (2 << 8)
79#define NVTX_COUNTER_FLAG_INTERPOLATION_UNTIL_NEXT (3 << 8)
81#define NVTX_COUNTER_FLAG_INTERPOLATION_LINEAR (4 << 8)
85#define NVTX_COUNTER_FLAG_INTERPOLATIONS (7 << 8)
90#define NVTX_COUNTER_LIMIT_UNDEFINED 0
91#define NVTX_COUNTER_LIMIT_I64 1
92#define NVTX_COUNTER_LIMIT_U64 2
93#define NVTX_COUNTER_LIMIT_F64 3
109typedef struct nvtxSemanticsCounter_v1
112 struct nvtxSemanticsHeader_v1 header;
Specify additional properties of a counter or counter group.
uint64_t unitScaleDenominator
uint64_t unitScaleNumerator