23#ifndef COMPONENTS_SERVICES_BITS_PSI_BITS_H
24#define COMPONENTS_SERVICES_BITS_PSI_BITS_H
44#define PSI_DOCUMENT_ME ""
50#if defined(__clang__) && defined(_WIN32)
60#define PSI_FLAG_SINGLETON (1 << 0)
67#define PSI_FLAG_MUTABLE (1 << 1)
74#define PSI_FLAG_THREAD (1 << 2)
81#define PSI_FLAG_STAGE_PROGRESS (1 << 3)
87#define PSI_FLAG_RWLOCK_SX (1 << 4)
94#define PSI_FLAG_TRANSFER (1 << 5)
102#define PSI_FLAG_USER (1 << 6)
111#define PSI_FLAG_ONLY_GLOBAL_STAT (1 << 7)
117#define PSI_FLAG_RWLOCK_PR (1 << 8)
123#define PSI_FLAG_THREAD_SYSTEM (1 << 9)
129#define PSI_FLAG_AUTO_SEQNUM (1 << 10)
135#define PSI_FLAG_NO_SEQNUM (1 << 11)
140#define PSI_FLAG_MEM_COLLECT (1 << 12)
142#define PSI_VOLATILITY_UNKNOWN 0
143#define PSI_VOLATILITY_PERMANENT 1
144#define PSI_VOLATILITY_PROVISIONING 2
145#define PSI_VOLATILITY_DDL 3
146#define PSI_VOLATILITY_CACHE 4
147#define PSI_VOLATILITY_SESSION 5
148#define PSI_VOLATILITY_TRANSACTION 6
149#define PSI_VOLATILITY_QUERY 7
150#define PSI_VOLATILITY_INTRA_QUERY 8
152#define PSI_COUNT_VOLATILITY 9
static constexpr unsigned PSI_INSTRUMENT_ME
Definition: psi_bits.h:42
static constexpr unsigned PSI_NOT_INSTRUMENTED
Definition: psi_bits.h:53
Instrumented artifact.
Definition: psi_bits.h:166
bool m_enabled
Instrumentation is enabled.
Definition: psi_bits.h:180
Definition: psi_bits.h:154
int m_placeholder
Definition: psi_bits.h:155