1 | #pragma once |
---|---|
2 | |
3 | /// Used in ProfileEvents and MemoryTracker to determine their hierarchy level |
4 | /// The less value the higher level (zero level is the root) |
5 | enum class VariableContext |
6 | { |
7 | Global = 0, |
8 | User, /// Group of processes |
9 | Process, /// For example, a query or a merge |
10 | Thread, /// A thread of a process |
11 | Snapshot /// Does not belong to anybody |
12 | }; |
13 |