MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / merge

Method merge

programs/keeper-bench/Stats.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void Stats::merge(Stats & from)
29{
30 std::scoped_lock lock(mutex, from.mutex);
31
32 errors += from.errors;
33 watches_fired += from.watches_fired;
34 read_collector.merge(from.read_collector);
35 write_collector.merge(from.write_collector);
36}
37
38void Stats::extractInto(Stats & target)
39{

Callers 2

extractIntoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected