MCPcopy Create free account
hub / github.com/RenderKit/embree / getMaxCacheSize

Function getMaxCacheSize

kernels/common/device.cpp:351–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 size_t getMaxCacheSize()
352 {
353 size_t maxCacheSize = 0;
354 for (std::map<Device*,size_t>::iterator i=g_cache_size_map.begin(); i!= g_cache_size_map.end(); i++)
355 maxCacheSize = max(maxCacheSize, (*i).second);
356 return maxCacheSize;
357 }
358
359 void Device::setCacheSize(size_t bytes)
360 {

Callers 1

setCacheSizeMethod · 0.85

Calls 3

maxFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected