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

Method setMetric

plugins/prefetch/fetch.cc:352–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void
353BgFetchState::setMetric(PrefetchMetric m, size_t value)
354{
355 if (-1 != _metrics[m].id) {
356 TSStatIntSet(_metrics[m].id, value);
357 }
358}
359
360inline TSTextLogObject
361BgFetchState::getLog()

Callers

nothing calls this directly

Calls 1

TSStatIntSetFunction · 0.85

Tested by

no test coverage detected