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

Method increment

src/tscpp/api/Stat.cc:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void
93Stat::increment(int64_t amount)
94{
95 if (stat_id_ == TS_ERROR) {
96 return;
97 }
98
99 TSStatIntIncrement(stat_id_, amount);
100}
101
102void
103Stat::decrement(int64_t amount)

Calls 1

TSStatIntIncrementFunction · 0.85

Tested by

no test coverage detected