Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/Vulkan-ValidationLayers
/ operator new
Function
operator new
layers/profiling/profiling.cpp:29–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
#if defined(VVL_TRACY_CPU_MEMORY)
28
29
void* operator new(std ::size_t size) {
30
auto ptr = malloc(size);
31
VVL_TracyAlloc(ptr, size);
32
return ptr;
33
}
34
35
void operator delete(void* ptr) noexcept {
36
VVL_TracyFree(ptr);
Callers
4
TEST_F
Function · 0.85
TEST_F
Function · 0.85
TEST_F
Function · 0.85
MapMemory
Function · 0.85
Calls
1
vvl_aligned_malloc
Function · 0.85
Tested by
1
MapMemory
Function · 0.68