MCPcopy Create free account
hub / github.com/apache/trafficserver / clearAllocation

Method clearAllocation

src/traffic_cache_tool/CacheTool.cc:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232#endif
233
234void
235Cache::clearAllocation()
236{
237 for (auto span : _spans) {
238 span->clear();
239 }
240 for (auto &item : _volumes) {
241 item.second.clear();
242 }
243}
244/* --------------------------------------------------------------------------------------- */
245/// Temporary structure used for doing allocation computations.
246class VolumeAllocator

Callers 1

fillAllSpansMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected