MCPcopy Create free account
hub / github.com/beefytech/Beef / ReportRadixMap

Function ReportRadixMap

IDEHelper/DebugTarget.cpp:2541–2552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2539#ifdef BF_DBG_32
2540template <typename T>
2541void ReportRadixMap(MemReporter* memReporter, RadixMap32<T>& radixMap)
2542{
2543 memReporter->Add(sizeof(void*) * RadixMap32<T>::ROOT_LENGTH);
2544 for (int rootIdx = 0; rootIdx < RadixMap32<T>::ROOT_LENGTH; rootIdx++)
2545 {
2546 auto root = radixMap.mRoot[rootIdx];
2547 if (root != NULL)
2548 {
2549 memReporter->Add(sizeof(RadixMap32<T>::Leaf));
2550 }
2551 }
2552}
2553#else
2554template <typename T>
2555void ReportRadixMap(MemReporter* memReporter, RadixMap64<T>& radixMap)

Callers 1

ReportMemoryMethod · 0.85

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected