MCPcopy Create free account
hub / github.com/comaps/comaps / AddAllocated

Method AddAllocated

libs/drape/utils/gpu_mem_tracker.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void GPUMemTracker::AddAllocated(std::string const & tag, uint32_t id, uint32_t size)
73{
74 std::lock_guard<std::mutex> g(m_mutex);
75 m_memTracker[make_pair(tag, id)].first = size;
76}
77
78void GPUMemTracker::SetUsed(std::string const & tag, uint32_t id, uint32_t size)
79{

Callers 2

ResizeMethod · 0.80
CreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected