| 2539 | #ifdef BF_DBG_32 |
| 2540 | template <typename T> |
| 2541 | void 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 |
| 2554 | template <typename T> |
| 2555 | void ReportRadixMap(MemReporter* memReporter, RadixMap64<T>& radixMap) |