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

Method _count_received_frames

src/proxy/http2/Http2CommonSession.cc:488–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488void
489Http2CommonSession::_count_received_frames(uint32_t type)
490{
491 if (type > HTTP2_FRAME_TYPE_MAX) {
492 type = HTTP2_FRAME_TYPE_MAX;
493 }
494 // Global counter
495 Metrics::Counter::increment(http2_frame_metrics_in[type]);
496 // Local counter
497 this->_frame_counts_in[type]++;
498}

Callers 1

Calls 1

incrementFunction · 0.85

Tested by

no test coverage detected