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

Method incrementMetric

plugins/prefetch/fetch.cc:344–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void
345BgFetchState::incrementMetric(PrefetchMetric m)
346{
347 if (-1 != _metrics[m].id) {
348 TSStatIntIncrement(_metrics[m].id, 1);
349 }
350}
351
352void
353BgFetchState::setMetric(PrefetchMetric m, size_t value)

Callers 3

isFetchableFunction · 0.45
TSRemapDoRemapFunction · 0.45
logAndMetricUpdateMethod · 0.45

Calls 1

TSStatIntIncrementFunction · 0.85

Tested by

no test coverage detected