mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
12 lines
347 B
C++
12 lines
347 B
C++
#pragma once
|
|
|
|
/// Used in ProfileEvents and MemoryTracker to determine their hierarchy level
|
|
/// The less value the higher level (zero level is the root)
|
|
enum class VariableContext
|
|
{
|
|
Global = 0,
|
|
User, /// Group of processes
|
|
Process, /// For example, a query or a merge
|
|
Thread, /// A thread of a process
|
|
};
|