MCPcopy Create free account
hub / github.com/apache/brpc / Add

Class Add

test/bvar_agent_group_unittest.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33using namespace bvar::detail;
34
35struct Add {
36 uint64_t operator()(const uint64_t lhs, const uint64_t rhs) const {
37 return lhs + rhs;
38 }
39};
40
41const size_t OPS_PER_THREAD = 2000000;
42

Callers 6

BatchAddMethod · 0.85
BatchAddMethod · 0.85
BatchAddMethod · 0.85
BatchAddMethod · 0.85
BatchAddMethod · 0.85
BatchAddMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected