| 137 | } |
| 138 | |
| 139 | void increment_mapping(size_t size) noexcept |
| 140 | { |
| 141 | for (MemoryStats* statistics = this; statistics; statistics = statistics->mst_parent) |
| 142 | { |
| 143 | const size_t temp = statistics->mst_mapped.exchangeAdd(size) + size; |
| 144 | if (temp > statistics->mst_max_mapped) |
| 145 | statistics->mst_max_mapped = temp; |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | void decrement_mapping(size_t size) noexcept |
| 150 | { |
nothing calls this directly
no test coverage detected