MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / update

Method update

example_transcoding/utils.h:2394–2394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2392 void clear() { m_num = 0; m_total = 0; m_total2 = 0; }
2393
2394 void update(uint32_t val) { m_num++; m_total += val; m_total2 += val * val; }
2395
2396 tracked_stat& operator += (uint32_t val) { update(val); return *this; }
2397

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected