ClickHouse/src/Common/CurrentMemoryTracker.h

12 lines
267 B
C++
Raw Normal View History

#pragma once
#include <common/types.h>
/// Convenience methods, that use current thread's memory_tracker if it is available.
namespace CurrentMemoryTracker
{
void alloc(Int64 size);
void realloc(Int64 old_size, Int64 new_size);
void free(Int64 size);
}