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

Method increment_for_alloc

include/tscore/Allocator.h:253–258  ·  view source on GitHub ↗

NOTE(cmcfarlen): These metric functions are also called by ProxyAllocator when items are added/removed from its freelist

Source from the content-addressed store, hash-verified

251 // NOTE(cmcfarlen): These metric functions are also called
252 // by ProxyAllocator when items are added/removed from its freelist
253 void
254 increment_for_alloc()
255 {
256 inuse_metric->increment(1);
257 alloc_metric->increment(1);
258 }
259
260 void
261 increment_for_free(int val = 1)

Callers 1

thread_allocFunction · 0.80

Calls 1

incrementMethod · 0.45

Tested by

no test coverage detected