MCPcopy 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
29void* operator new(std ::size_t size) {
30 auto ptr = malloc(size);
31 VVL_TracyAlloc(ptr, size);
32 return ptr;
33}
34
35void operator delete(void* ptr) noexcept {
36 VVL_TracyFree(ptr);

Callers 4

TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
MapMemoryFunction · 0.85

Calls 1

vvl_aligned_mallocFunction · 0.85

Tested by 1

MapMemoryFunction · 0.68